mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-22 15:24:03 +01:00
feat: replace sudo by '--use-remote-sudo', so we will change to sudo only when we need.
This commit is contained in:
1 parent
016115faa5
commit
aa0c789b6e
1 file changed
+2
-2
@@ -5,10 +5,10 @@
|
||||
############################################################################
|
||||
|
||||
deploy:
|
||||
sudo nixos-rebuild switch --flake .
|
||||
nixos-rebuild switch --flake . --use-remote-sudo
|
||||
|
||||
debug:
|
||||
sudo nixos-rebuild switch --flake . --show-trace --verbose
|
||||
nixos-rebuild switch --flake . --use-remote-sudo --show-trace --verbose
|
||||
|
||||
update:
|
||||
nix flake update
|
||||
|
||||
Reference in new issue
Block a user