Use env instead of pushd

This commit is contained in:
Henry Hiles 2025-07-07 20:18:59 -04:00
commit 0bb6423a03
No known key found for this signature in database
2 changed files with 17 additions and 104 deletions

View file

@ -16,7 +16,7 @@ in {
environment.shellAliases = {
clean = "${exe} clean all";
update = "pushd ~/.config/nixos && nix flake update && popd && rebuild";
update = "env -C ~/.config/nixos nix flake update && rebuild";
rebuild = "${exe} os switch";
rebuildServer = "${exe} os switch --hostname quadraticserver --target-host 192.168.0.132";
};