Replace sudo flag
`--use-remote-sudo` is deprecated
This commit is contained in:
parent
5c0810e725
commit
37a8d355ee
1 changed files with 2 additions and 2 deletions
4
justfile
4
justfile
|
|
@ -2,11 +2,11 @@ usb_ram_disk := "/dev/disk/by-label/RAM_USB"
|
||||||
usb_ram_mountpoint := shell("findmnt -n -o TARGET $1 || true", usb_ram_disk)
|
usb_ram_mountpoint := shell("findmnt -n -o TARGET $1 || true", usb_ram_disk)
|
||||||
|
|
||||||
boot:
|
boot:
|
||||||
nixos-rebuild boot --flake . --use-remote-sudo
|
nixos-rebuild boot --flake . --sudo
|
||||||
which fwupdmgr >/dev/null 2>&1 && fwupdmgr update || true
|
which fwupdmgr >/dev/null 2>&1 && fwupdmgr update || true
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
nixos-rebuild switch --flake . --use-remote-sudo
|
nixos-rebuild switch --flake . --sudo
|
||||||
which fwupdmgr >/dev/null 2>&1 && fwupdmgr update || true
|
which fwupdmgr >/dev/null 2>&1 && fwupdmgr update || true
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue