diff --git a/devices/inkvine/default.nix b/devices/inkvine/default.nix index 2d9adf1..018c7a1 100644 --- a/devices/inkvine/default.nix +++ b/devices/inkvine/default.nix @@ -1,6 +1,7 @@ { pkgs, config, ... }: { imports = [ ./options.nix + ./disks.nix ]; nixpkgs = { diff --git a/devices/tunyon/disks.nix b/devices/tunyon/disks.nix new file mode 100644 index 0000000..622bc1d --- /dev/null +++ b/devices/tunyon/disks.nix @@ -0,0 +1,7 @@ +{ ... }: { + disks = { + boot = ""; + crypt = ""; + root = ""; + }; +} diff --git a/options.nix b/options.nix index 7c48d1b..c09415d 100644 --- a/options.nix +++ b/options.nix @@ -1,7 +1,7 @@ { lib, ... }: { options = let inherit (lib) mkOption mkEnableOption; - inherit (lib.types) nullOr str attrsOf; + inherit (lib.types) nullOr attrsOf str; in { full = mkEnableOption "Enable complete configuration for end-user machine"; @@ -17,11 +17,7 @@ disks = mkOption { type = attrsOf str; - default = { - boot = ""; - crypt = ""; - root = ""; - }; + default = { }; example = { boot = "4672-C1A9"; crypt = "747ae319-f189-44f5-9737-a42672e2c02d";