system.envfs: default enable for workstation

This commit is contained in:
2024-06-11 09:35:53 +08:00
parent 6d814881c4
commit dd1fb05917

View File

@@ -3,7 +3,7 @@ inputs:
options.nixos.system.envfs = let inherit (inputs.lib) mkOption types; in mkOption
{
type = types.nullOr (types.submodule {});
default = null;
default = if inputs.config.nixos.packages.packageSet == "workstation" then {} else null;
};
config = let inherit (inputs.config.nixos.system) envfs; in inputs.lib.mkIf (envfs != null) (inputs.lib.mkMerge
[