diff options
author | figsoda <figsoda@pm.me> | 2022-11-30 17:58:55 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2022-11-30 17:58:55 -0500 |
commit | 7dfc2a1369e115e565dc7fa1e18d847bd6c286f9 (patch) | |
tree | 15ad9c7e9454bb33b71d8443306b8e5e859f9870 /nixos/modules/config | |
parent | 55acad5c357c3f49808dc8c01982ec3ed4e2d27d (diff) |
nixos/user-groups: remove unnecessary parentheses
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/users-groups.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 2660b0e6c9388..61d70ccc19b2a 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -618,7 +618,7 @@ in { # Install all the user shells environment.systemPackages = systemShells; - environment.etc = (mapAttrs' (_: { packages, name, ... }: { + environment.etc = mapAttrs' (_: { packages, name, ... }: { name = "profiles/per-user/${name}"; value.source = pkgs.buildEnv { name = "user-environment"; @@ -626,7 +626,7 @@ in { inherit (config.environment) pathsToLink extraOutputsToInstall; inherit (config.system.path) ignoreCollisions postBuild; }; - }) (filterAttrs (_: u: u.packages != []) cfg.users)); + }) (filterAttrs (_: u: u.packages != []) cfg.users); environment.profiles = [ "$HOME/.nix-profile" |