nixos/Makefile

37 lines
619 B
Makefile
Raw Normal View History

.PHONY: test switch build debug lock update hyprland waybar home full
test:
sudo nixos-rebuild test --flake .
switch:
sudo nixos-rebuild switch --flake .
2023-07-02 16:48:55 +01:00
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
2023-07-10 10:19:51 +01:00
update:
nix flake update --refresh --commit-lock-file
hyprland:
-hyprctl reload
-pkill -1 kanshi
waybar:
-pkill -9 waybar
-hyprctl dispatch exec waybar
home:
2023-07-17 13:23:00 +01:00
nix run nixpkgs#home-manager -- switch --flake .
make hyprland
make waybar
full:
make switch
make home