summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorGerg-L <GregLeyda@proton.me>2023-07-04 12:16:04 -0400
committerGerg-L <GregLeyda@proton.me>2023-07-18 23:33:18 -0400
commitbf383adf0ae173ce4506fdc4e59d9368f8adae91 (patch)
treef660446f428bade2e3337f8cde0f841668dec41f /nixos/modules/config
parent8688964d3177bab40af437dbfedd5df8557e6a96 (diff)
downloadnixpkgs-bf383adf0ae173ce4506fdc4e59d9368f8adae91.tar
nixpkgs-bf383adf0ae173ce4506fdc4e59d9368f8adae91.tar.gz
nixpkgs-bf383adf0ae173ce4506fdc4e59d9368f8adae91.tar.bz2
nixpkgs-bf383adf0ae173ce4506fdc4e59d9368f8adae91.tar.lz
nixpkgs-bf383adf0ae173ce4506fdc4e59d9368f8adae91.tar.xz
nixpkgs-bf383adf0ae173ce4506fdc4e59d9368f8adae91.tar.zst
nixpkgs-bf383adf0ae173ce4506fdc4e59d9368f8adae91.zip
nixos/user-groups: Add to $NIX_PROFILES paths
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/users-groups.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix
index 4c9e286ea5f..8a948a76d6d 100644
--- a/nixos/modules/config/users-groups.nix
+++ b/nixos/modules/config/users-groups.nix
@@ -681,6 +681,7 @@ in {
 
     environment.profiles = [
       "$HOME/.nix-profile"
+      "\${XDG_STATE_HOME:-$HOME/.local/state}/nix/profile"
       "/etc/profiles/per-user/$USER"
     ];