Evie Litherland-Smith
48dc2ef95c
make all fetches from git and updates nixpkgs when running nixos-rebuild switch.
15 lines
286 B
Makefile
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
|