nixos-configuration/justfile
2022-06-08 11:45:45 +00:00

14 lines
390 B
Makefile

boot:
nixos-rebuild boot --flake . --use-remote-sudo
which fwupdmgr >/dev/null 2>&1 && fwupdmgr update || true
switch:
nixos-rebuild switch --flake . --use-remote-sudo
which fwupdmgr >/dev/null 2>&1 && fwupdmgr update || true
build:
nixos-rebuild build --flake .
update:
nix flake update --commit-lock-file
which fwupdmgr >/dev/null 2>&1 && fwupdmgr refresh || true