31 lines
508 B
Makefile
31 lines
508 B
Makefile
.PHONY: test build debug switch lock
|
|
|
|
test:
|
|
sudo nixos-rebuild test --flake .
|
|
make hyprland
|
|
make waybar
|
|
|
|
switch:
|
|
sudo nixos-rebuild switch --flake .
|
|
make hyprland
|
|
make waybar
|
|
|
|
build:
|
|
sudo nixos-rebuild build --flake .
|
|
|
|
debug:
|
|
sudo nixos-rebuild build --flake . --show-trace --refresh
|
|
|
|
lock:
|
|
nix flake lock --update-input nixpkgs --update-input home-manager
|
|
|
|
update:
|
|
nix flake update --refresh --commit-lock-file
|
|
|
|
hyprland:
|
|
-hyprctl reload
|
|
|
|
waybar:
|
|
-pkill -9 waybar
|
|
-hyprctl dispatch exec waybar
|