32 lines
565 B
Makefile
32 lines
565 B
Makefile
.PHONY: test switch build debug lock update hyprland waybar home
|
|
|
|
test:
|
|
sudo nixos-rebuild test --flake .
|
|
|
|
switch:
|
|
sudo nixos-rebuild switch --flake .
|
|
|
|
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
|
|
|
|
home:
|
|
nix run nixpkgs#home-manager -- switch --flake .
|
|
make hyprland
|
|
make waybar
|