nixos/Makefile

20 lines
356 B
Makefile
Raw Normal View History

.PHONY: test build debug switch lock
test:
sudo nixos-rebuild test --flake .
2023-07-02 16:48:55 +01:00
build:
sudo nixos-rebuild build --flake .
debug:
sudo nixos-rebuild build --flake . --show-trace
switch:
sudo nixos-rebuild switch --flake .
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