Skip to content

Commit

Permalink
fix: use correct username for profile
Browse files Browse the repository at this point in the history
  • Loading branch information
toodeluna committed Feb 27, 2025
1 parent 665cc04 commit 602ddc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/users/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ in
environment.systemPackages = systemShells;

environment.etc = mapAttrs' (name: { packages, ... }: {
name = "profiles/per-user/${name}";
name = "profiles/per-user/${config.users.users.${name}.name or name}";
value.source = pkgs.buildEnv {
name = "user-environment";
paths = packages;
Expand Down

0 comments on commit 602ddc5

Please sign in to comment.