nixos/Makefile

13 lines
259 B
Makefile
Raw Normal View History

.PHONY: build switch test
2023-07-02 16:48:55 +01:00
build:
sudo nixos-rebuild build --flake .
-nix run nixpkgs#home-manager -- build --flake .
switch:
sudo nixos-rebuild switch --flake .
-nix run nixpkgs#home-manager -- switch --flake .
test:
sudo nixos-rebuild test --flake .