nixos/Makefile

19 lines
312 B
Makefile

.PHONY: build test switch reload
build:
nixos-rebuild build --flake .
test:
sudo nixos-rebuild test --flake .
switch:
sudo nixos-rebuild switch --flake .
update:
nix flake update --commit-lock-file
reload:
-hyprctl reload
-systemctl --user restart hyprpaper.service waybar.service
-swaync-client -rs