fix running upd
from outside of /etc/nixos
This commit is contained in:
parent
23b0daf2f3
commit
29c7a39ed0
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
|||
ls = "eza --icons";
|
||||
l = "eza -lhg --icons";
|
||||
|
||||
upd = "sudo nixos-generate-config --dir /etc/nixos/hosts && sudo rm /etc/nixos/hosts/configuration.nix && sudo mv /etc/nixos/hosts/hardware-configuration.nix /etc/nixos/hosts/$(hostname).nix && git add /etc/nixos/hosts/$(hostname).nix && sudo nixos-rebuild switch";
|
||||
upd = "sudo nixos-generate-config --dir /etc/nixos/hosts && sudo rm /etc/nixos/hosts/configuration.nix && sudo mv /etc/nixos/hosts/hardware-configuration.nix /etc/nixos/hosts/$(hostname).nix && git --git-dir=/etc/nixos add /etc/nixos/hosts/$(hostname).nix && sudo nixos-rebuild switch";
|
||||
|
||||
c = "clear";
|
||||
# alias sudo to itself so user aliases can be sudoed
|
||||
|
|
Loading…
Reference in a new issue