mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-23 01:49:56 +01:00
feat: replace sudo by '--use-remote-sudo', so we will change to sudo only when we need.
This commit is contained in:
4
Makefile
4
Makefile
@@ -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