Use env instead of pushd
This commit is contained in:
parent
8df73e745d
commit
0bb6423a03
2 changed files with 17 additions and 104 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue