diff options
| author | Fuwn <[email protected]> | 2024-09-23 16:17:47 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-23 16:17:47 -0700 |
| commit | 70b0e24edab7a9d689768f4b694f92e8697e231e (patch) | |
| tree | 9b88b13fb9976eab750f691178bed800e203cf2f /modules/options/default.nix | |
| parent | kansai: move default module to host (diff) | |
| download | nixos-config-70b0e24edab7a9d689768f4b694f92e8697e231e.tar.xz nixos-config-70b0e24edab7a9d689768f4b694f92e8697e231e.zip | |
options: move modules to modules
Diffstat (limited to 'modules/options/default.nix')
| -rw-r--r-- | modules/options/default.nix | 29 |
1 files changed, 4 insertions, 25 deletions
diff --git a/modules/options/default.nix b/modules/options/default.nix index 8c140de..c8a78c9 100644 --- a/modules/options/default.nix +++ b/modules/options/default.nix @@ -1,27 +1,6 @@ -{ lib, ... }: -with lib.options; -with lib.types; { - options.modules = { - nix.extend = mkOption { - default = true; - type = types.bool; - }; - - containers = { - engine = mkOption { - default = "podman"; - - type = types.enum [ - "podman" - "docker" - ]; - }; - - extraOptions = mkOption { - default = [ ]; - type = types.listOf types.str; - }; - }; - }; + imports = [ + ./containers.nix + ./nix.nix + ]; } |