fix: nh not liking symlinked folders

This commit is contained in:
Nydragon 2024-09-17 18:54:56 +02:00
parent 5f096faf45
commit 82dd9f3a71
Signed by: nydragon
SSH key fingerprint: SHA256:iQnIC12spf4QjWSbarmkD2No1cLMlu6TWoV7K6cYF5g

View file

@ -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