summary refs log tree commit diff stats
path: root/modules/nixos
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-02 18:06:38 +0200
committerSilas Schöffel <sils@sils.li>2024-04-02 18:06:38 +0200
commitb3bd69a18b5b46af57512ec3d54e334ddb055039 (patch)
tree9d46deeff89cbd8f4214d481d3c67fd53355b8f7 /modules/nixos
parentrefactor(modules): use collision avoiding tree (diff)
downloadnix-config-b3bd69a18b5b46af57512ec3d54e334ddb055039.tar.gz
nix-config-b3bd69a18b5b46af57512ec3d54e334ddb055039.zip
sils.meta: init module
Diffstat (limited to 'modules/nixos')
-rw-r--r--modules/nixos/sils/default.nix1
-rw-r--r--modules/nixos/sils/meta.nix19
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;
+    };
+  };
+}