diff --git a/Makefile b/Makefile index 88180e66..833d6db0 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,12 @@ -.PHONY: build test switch reload - -build: - nixos-rebuild build --flake . +.PHONY: test all switch update reload test: sudo nixos-rebuild test --flake . -switch: - sudo nixos-rebuild switch --flake . - -update: - nix flake update --commit-lock-file +all: + -git pull --ff-only + sudo nixos-rebuild switch --flake . --update-input nixpkgs + make reload reload: -hyprctl reload