nixos/Makefile

14 lines
220 B
Makefile

.PHONY: build switch test home
build:
sudo nixos-rebuild build --flake .
switch:
sudo nixos-rebuild switch --flake .
test:
sudo nixos-rebuild test --flake .
home:
nix run nixpkgs#home-manager -- switch --flake .