From b36919c7623703187293a73999bb2c71df71cc1a Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 31 Jan 2024 17:22:32 -0500 Subject: [PATCH] hosts/*: set info.loc --- hosts/Infini-DESKTOP/default.nix | 2 ++ hosts/Infini-FRAMEWORK/default.nix | 2 ++ hosts/Infini-OPTIPLEX/default.nix | 2 ++ hosts/Infini-SERVER/default.nix | 2 ++ modules/global/options.nix | 3 ++- 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts/Infini-DESKTOP/default.nix b/hosts/Infini-DESKTOP/default.nix index 78e9221..d521529 100644 --- a/hosts/Infini-DESKTOP/default.nix +++ b/hosts/Infini-DESKTOP/default.nix @@ -6,6 +6,8 @@ system.stateVersion = "21.11"; + info.loc.home = true; + persist = { directories = [ "/home" diff --git a/hosts/Infini-FRAMEWORK/default.nix b/hosts/Infini-FRAMEWORK/default.nix index 160f6e0..4b469c3 100644 --- a/hosts/Infini-FRAMEWORK/default.nix +++ b/hosts/Infini-FRAMEWORK/default.nix @@ -6,6 +6,8 @@ system.stateVersion = "23.05"; + info.loc.purdue = true; + persist = { directories = [ "/home" diff --git a/hosts/Infini-OPTIPLEX/default.nix b/hosts/Infini-OPTIPLEX/default.nix index e25d12b..1193437 100644 --- a/hosts/Infini-OPTIPLEX/default.nix +++ b/hosts/Infini-OPTIPLEX/default.nix @@ -8,6 +8,8 @@ system.stateVersion = "23.05"; + info.loc.purdue = true; + modules = { boot = { grub.enable = true; diff --git a/hosts/Infini-SERVER/default.nix b/hosts/Infini-SERVER/default.nix index c0c0571..79997fd 100644 --- a/hosts/Infini-SERVER/default.nix +++ b/hosts/Infini-SERVER/default.nix @@ -8,6 +8,8 @@ system.stateVersion = "22.05"; + info.loc.home = true; + modules = { boot = { grub.enable = true; diff --git a/modules/global/options.nix b/modules/global/options.nix index 029dd82..9b45d84 100644 --- a/modules/global/options.nix +++ b/modules/global/options.nix @@ -31,7 +31,8 @@ in }; stationary = mkBoolOpt false; loc = { - home = mkBoolOpt config.info.stationary; + home = mkBoolOpt false; + purdue = mkBoolOpt false; }; };