nixos/user-groups: remove unnecessary parentheses
This commit is contained in:
parent
55acad5c35
commit
7dfc2a1369
1 changed files with 2 additions and 2 deletions
|
@ -618,7 +618,7 @@ in {
|
||||||
# Install all the user shells
|
# Install all the user shells
|
||||||
environment.systemPackages = systemShells;
|
environment.systemPackages = systemShells;
|
||||||
|
|
||||||
environment.etc = (mapAttrs' (_: { packages, name, ... }: {
|
environment.etc = mapAttrs' (_: { packages, name, ... }: {
|
||||||
name = "profiles/per-user/${name}";
|
name = "profiles/per-user/${name}";
|
||||||
value.source = pkgs.buildEnv {
|
value.source = pkgs.buildEnv {
|
||||||
name = "user-environment";
|
name = "user-environment";
|
||||||
|
@ -626,7 +626,7 @@ in {
|
||||||
inherit (config.environment) pathsToLink extraOutputsToInstall;
|
inherit (config.environment) pathsToLink extraOutputsToInstall;
|
||||||
inherit (config.system.path) ignoreCollisions postBuild;
|
inherit (config.system.path) ignoreCollisions postBuild;
|
||||||
};
|
};
|
||||||
}) (filterAttrs (_: u: u.packages != []) cfg.users));
|
}) (filterAttrs (_: u: u.packages != []) cfg.users);
|
||||||
|
|
||||||
environment.profiles = [
|
environment.profiles = [
|
||||||
"$HOME/.nix-profile"
|
"$HOME/.nix-profile"
|
||||||
|
|
Loading…
Reference in a new issue