nixos/Makefile
Evie Litherland-Smith 48dc2ef95c Update Makefile rules
make all fetches from git and updates nixpkgs when running
nixos-rebuild switch.
2024-03-15 11:21:22 +00:00

15 lines
286 B
Makefile

.PHONY: test all switch update reload
test:
sudo nixos-rebuild test --flake .
all:
-git pull --ff-only
sudo nixos-rebuild switch --flake . --update-input nixpkgs
make reload
reload:
-hyprctl reload
-systemctl --user restart hyprpaper.service waybar.service
-swaync-client -rs