summaryrefslogtreecommitdiff
path: root/modules/options
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-23 05:30:17 -0700
committerFuwn <[email protected]>2024-09-23 05:30:17 -0700
commitf960240d490b933710d89d5c16ead45bfebf8ee9 (patch)
tree2764cacff8ab0b2e48c946ff5581a6afe904e772 /modules/options
parentserver: extraOptions to options (diff)
downloadnixos-config-f960240d490b933710d89d5c16ead45bfebf8ee9.tar.xz
nixos-config-f960240d490b933710d89d5c16ead45bfebf8ee9.zip
server: move engine to containers
Diffstat (limited to 'modules/options')
-rw-r--r--modules/options/default.nix22
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;
+ };
};
};
}