From 82dd9f3a7120c0a3c4586982de22c6f04a11a631 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Tue, 17 Sep 2024 18:54:56 +0200 Subject: [PATCH] fix: nh not liking symlinked folders --- home/scripts/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/scripts/default.nix b/home/scripts/default.nix index 6c5eb48..eeea147 100644 --- a/home/scripts/default.nix +++ b/home/scripts/default.nix @@ -9,7 +9,7 @@ let nixos-rebuild = name: word: writeFishBin name '' - ${pkgs.nh}/bin/nh os ${word} $HOME/.nixconf $argv \ + env --chdir ~/.nixconf ${pkgs.nh}/bin/nh os ${word} . $argv \ && ${lib.my.checkPath pkgs.libnotify "notify-send"} nixos-rebuild "Rebuild complete" \ -a nixos-rebuild \ -i ${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg