clean up & consoldiation of custom pkgs from flakes & herdr

This commit is contained in:
ari committed 2026-09-09 11:46:46 -04:00
1 parent 6229440107
commit bdfcb9e814
22 files changed
+207 -446

No files matched your search

@@ -37,6 +37,7 @@ consistently (compose tooling, user group membership, OCI backend, metrics).
### Option namespace
```
skyg.nixos.common.containers.enable → false to disable the container runtime entirely
skyg.nixos.common.containers.runtime → "docker" | "podman"
skyg.nixos.common.containers.enableOnBoot
skyg.nixos.common.containers.localDockerRegistries
@@ -8,6 +8,11 @@
];
options = {
skyg.nixos.common.containers = {
enable = lib.mkOption {
description = "Whether to enable the container runtime (docker/podman).";
type = lib.types.bool;
default = true;
};
runtime = lib.mkOption {
description = "Docker vs podman";
type = lib.types.str;
+1 -1
View File
@@ -4,7 +4,7 @@ let
cfg = config.skyg.nixos.common.containers;
in
{
config = lib.mkIf (cfg.runtime == "docker") {
config = lib.mkIf (cfg.enable && cfg.runtime == "docker") {
virtualisation.docker = {
enable = true;
autoPrune.enable = true;
+1 -1
View File
@@ -3,7 +3,7 @@ let
cfg = config.skyg.nixos.common.containers;
in
{
config = lib.mkIf (cfg.runtime == "podman") {
config = lib.mkIf (cfg.enable && cfg.runtime == "podman") {
virtualisation.oci-containers.backend = "podman";
virtualisation = {
podman = {