diff options
| author | Fuwn <[email protected]> | 2024-09-23 05:30:17 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-23 05:30:17 -0700 |
| commit | f960240d490b933710d89d5c16ead45bfebf8ee9 (patch) | |
| tree | 2764cacff8ab0b2e48c946ff5581a6afe904e772 /modules/options/default.nix | |
| parent | server: extraOptions to options (diff) | |
| download | nixos-config-f960240d490b933710d89d5c16ead45bfebf8ee9.tar.xz nixos-config-f960240d490b933710d89d5c16ead45bfebf8ee9.zip | |
server: move engine to containers
Diffstat (limited to 'modules/options/default.nix')
| -rw-r--r-- | modules/options/default.nix | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/modules/options/default.nix b/modules/options/default.nix index e0eaa38..8c140de 100644 --- a/modules/options/default.nix +++ b/modules/options/default.nix @@ -8,18 +8,20 @@ with lib.types; type = types.bool; }; - server.containerEngine = mkOption { - default = "podman"; + containers = { + engine = mkOption { + default = "podman"; - type = types.enum [ - "podman" - "docker" - ]; - }; + type = types.enum [ + "podman" + "docker" + ]; + }; - containers.extraOptions = mkOption { - default = [ ]; - type = types.listOf types.str; + extraOptions = mkOption { + default = [ ]; + type = types.listOf types.str; + }; }; }; } |