nixos/Makefile

17 lines
300 B
Makefile
Raw Normal View History

2023-07-02 16:48:55 +01:00
.PHONY: build debug test switch lock
2023-07-02 16:48:55 +01:00
build:
sudo nixos-rebuild build --flake .
debug:
sudo nixos-rebuild build --flake . --show-trace
test:
sudo nixos-rebuild test --flake .
switch:
sudo nixos-rebuild switch --flake .
lock:
nix flake lock --update-input nixpkgs --update-input home-manager