Replace sudo flag

`--use-remote-sudo` is deprecated
This commit is contained in:
Jakob Lechner 2025-11-18 14:56:28 +01:00
parent 5c0810e725
commit 37a8d355ee

View file

@ -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)
boot:
nixos-rebuild boot --flake . --use-remote-sudo
nixos-rebuild boot --flake . --sudo
which fwupdmgr >/dev/null 2>&1 && fwupdmgr update || true
switch:
nixos-rebuild switch --flake . --use-remote-sudo
nixos-rebuild switch --flake . --sudo
which fwupdmgr >/dev/null 2>&1 && fwupdmgr update || true
build: