use remote-sudo for local rebuilds
This commit is contained in:
parent
f804cb2cf1
commit
9417b068a9
1 changed files with 2 additions and 1 deletions
3
Justfile
3
Justfile
|
@ -1,8 +1,9 @@
|
||||||
hostname := `hostname`
|
hostname := `hostname`
|
||||||
|
|
||||||
local OPERATION *FLAGS:
|
local OPERATION *FLAGS:
|
||||||
sudo nixos-rebuild \
|
nixos-rebuild \
|
||||||
--flake .#{{hostname}} \
|
--flake .#{{hostname}} \
|
||||||
|
--use-remote-sudo \
|
||||||
{{FLAGS}} \
|
{{FLAGS}} \
|
||||||
{{OPERATION}}
|
{{OPERATION}}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue