summaryrefslogtreecommitdiff
path: root/nix/modules/vars.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/modules/vars.nix')
-rw-r--r--nix/modules/vars.nix12
1 files changed, 12 insertions, 0 deletions
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";