Files
nixos-setup/modules/nixos/common/containers/default.nix
T
2026-10-16 16:59:09 -04:00

34 lines
749 B
Nix

{ lib, ... }:
{
imports = [
./docker.nix
./podman.nix
./networks.nix
./container-services
];
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;
default = "docker";
};
enableOnBoot = lib.mkOption {
type = lib.types.bool;
default = false;
};
localDockerRegistries = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ "minipc1.lab.internal:5001" ];
};
};
};
}