From bf383adf0ae173ce4506fdc4e59d9368f8adae91 Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Tue, 4 Jul 2023 12:16:04 -0400 Subject: [PATCH] nixos/user-groups: Add to $NIX_PROFILES paths --- nixos/modules/config/users-groups.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 4c9e286ea5fd..8a948a76d6d9 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" ];