nixos/user-groups: fix environment.profiles using parameter expansion

This commit is contained in:
Matthew_Cash 2023-10-12 00:39:07 -07:00
parent f99e5f03cc
commit 9c24f502b7
No known key found for this signature in database
GPG key ID: 7449B33FA8E4C190

View file

@ -702,7 +702,8 @@ in {
environment.profiles = [
"$HOME/.nix-profile"
"\${XDG_STATE_HOME:-$HOME/.local/state}/nix/profile"
"\${XDG_STATE_HOME}/nix/profile"
"$HOME/.local/state/nix/profile"
"/etc/profiles/per-user/$USER"
];