From 5b8d09f2d7ebb7a1670c695af5761353d5b76d7e Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sun, 7 Sep 2025 20:48:46 -0700 Subject: create drive abstractions and entry points for disko --- nix/modules/vars.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'nix/modules/vars.nix') diff --git a/nix/modules/vars.nix b/nix/modules/vars.nix index 6ee1cc0..48da971 100644 --- a/nix/modules/vars.nix +++ b/nix/modules/vars.nix @@ -1,6 +1,18 @@ { lib, ... }: { options.monorepo.vars = { + device = lib.mkOption { + type = lib.types.str; + default = "/dev/sda"; + example = "/dev/nvme0n1"; + description = "device that NixOS is installed to"; + }; + + myDiskoSpec = lib.mkOption { + type = lib.types.attrs; + description = "retains a copy of the disko spec for reflection"; + }; + userName = lib.mkOption { type = lib.types.str; default = "preston"; -- cgit v1.3