mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-11 23:22:40 +02:00
feat: replace sudo by '--use-remote-sudo', so we will change to sudo only when we need.
This commit is contained in:
@@ -5,10 +5,10 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
sudo nixos-rebuild switch --flake .
|
nixos-rebuild switch --flake . --use-remote-sudo
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
sudo nixos-rebuild switch --flake . --show-trace --verbose
|
nixos-rebuild switch --flake . --use-remote-sudo --show-trace --verbose
|
||||||
|
|
||||||
update:
|
update:
|
||||||
nix flake update
|
nix flake update
|
||||||
|
|||||||
Reference in New Issue
Block a user