diff options
| author | sinanmohd <sinan@sinanmohd.com> | 2025-12-11 11:38:52 +0530 |
|---|---|---|
| committer | sinanmohd <sinan@sinanmohd.com> | 2025-12-11 12:08:23 +0530 |
| commit | 71cbbdbc330d946de39d0acddbaf498a466520a9 (patch) | |
| tree | bb3b2b1fc69e800d6dddb85fc2888f706022bfd6 | |
| parent | b825ecfb0646fca048f8456eecc793a007ab5a86 (diff) | |
chore(global/disk): init
| -rw-r--r-- | global/common/default.nix | 1 | ||||
| -rw-r--r-- | global/common/modules/disk.nix | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/global/common/default.nix b/global/common/default.nix index 030fa2b..920e3dd 100644 --- a/global/common/default.nix +++ b/global/common/default.nix @@ -3,5 +3,6 @@ imports = [ ./modules/font.nix ./modules/userdata.nix + ./modules/disk.nix ]; } diff --git a/global/common/modules/disk.nix b/global/common/modules/disk.nix new file mode 100644 index 0000000..fa26895 --- /dev/null +++ b/global/common/modules/disk.nix @@ -0,0 +1,10 @@ +{ lib, ... }: +{ + options.global.disk = { + master = lib.mkOption { + type = lib.types.str; + default = "nvme0n1"; + description = "Used by disko to make /boot and /root"; + }; + }; +} |
