diff --git a/modules/options/homeVars.nix b/modules/options/homeVars.nix index 3b2688c..fe69889 100644 --- a/modules/options/homeVars.nix +++ b/modules/options/homeVars.nix @@ -20,7 +20,7 @@ in { }; }; - config.assertions = mkIf (!config.local.systemVars.isServer) [ + config.assertions = mkIf (!config.local.profiles.server.enable) [ { assertion = options.local.homeVars.fullName.isDefined; } diff --git a/modules/options/systemVars.nix b/modules/options/systemVars.nix index cb8d169..b4aad13 100644 --- a/modules/options/systemVars.nix +++ b/modules/options/systemVars.nix @@ -4,7 +4,7 @@ ... }: let inherit (lib) mkOption; - inherit (lib.types) bool str; + inherit (lib.types) str; in { options.local.systemVars = { hostName = mkOption { @@ -17,11 +17,6 @@ in { description = "username for the home directory"; default = null; }; - isServer = mkOption { - type = bool; - description = "whether or not this host is a server"; - default = false; - }; }; config.assertions = [