about summary refs log tree commit diff stats
path: root/nix-conf/home/includes/scripts
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-07-18 15:26:36 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-07-18 15:26:36 +0100
commit83b935d9664bb6ebfe45bbb544d92313ea3150f9 (patch)
tree75e39431bb7d8e7409cdedf575ac6f157ab0efcd /nix-conf/home/includes/scripts
parenta2f537c725231e45f8af61a915530ab08f66d5de (diff)
downloaddotfiles-83b935d9664bb6ebfe45bbb544d92313ea3150f9.tar.gz
Update hm-changes-report script
Diffstat (limited to 'nix-conf/home/includes/scripts')
-rw-r--r--nix-conf/home/includes/scripts/hm-changes-report.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-conf/home/includes/scripts/hm-changes-report.nix b/nix-conf/home/includes/scripts/hm-changes-report.nix
index 303d482..d015180 100644
--- a/nix-conf/home/includes/scripts/hm-changes-report.nix
+++ b/nix-conf/home/includes/scripts/hm-changes-report.nix
@@ -2,7 +2,7 @@
 
 # https://github.com/gvolpe/nix-config/blob/e28a220d0087064e6bad6b992b4914a65eb545e5/home/scripts/changes-report.nix
 let
-  hm-profiles = "/nix/var/nix/profiles/per-user/${config.home.username}/profile-*-link";
+  hm-profiles = "${config.home.homeDirectory}/.local/state/nix/profiles/home-manager-*-link";
 in
 pkgs.writeShellScriptBin "hm-changes-report" ''
   # Disable nvd if there are less than 2 hm profiles.