diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-02 18:06:38 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-02 18:06:38 +0200 |
commit | b3bd69a18b5b46af57512ec3d54e334ddb055039 (patch) | |
tree | 9d46deeff89cbd8f4214d481d3c67fd53355b8f7 | |
parent | refactor(modules): use collision avoiding tree (diff) | |
download | nix-config-b3bd69a18b5b46af57512ec3d54e334ddb055039.tar.gz nix-config-b3bd69a18b5b46af57512ec3d54e334ddb055039.zip |
sils.meta: init module
-rw-r--r-- | modules/nixos/sils/default.nix | 1 | ||||
-rw-r--r-- | modules/nixos/sils/meta.nix | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/modules/nixos/sils/default.nix b/modules/nixos/sils/default.nix index a645a65..bff087e 100644 --- a/modules/nixos/sils/default.nix +++ b/modules/nixos/sils/default.nix @@ -1,5 +1,6 @@ {...}: { imports = [ + ./meta.nix ./plymouth.nix ]; } diff --git a/modules/nixos/sils/meta.nix b/modules/nixos/sils/meta.nix new file mode 100644 index 0000000..d08c54e --- /dev/null +++ b/modules/nixos/sils/meta.nix @@ -0,0 +1,19 @@ +{lib, ...}: { + options.sils.meta = { + bootPart = lib.mkOption { + type = lib.types.str; + }; + hostname = lib.mkOption { + type = lib.types.str; + }; + mainDisk = lib.mkOption { + type = lib.types.str; + }; + rootPart = lib.mkOption { + type = lib.types.str; + }; + system = lib.mkOption { + type = lib.types.str; + }; + }; +} |