mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
18 lines
268 B
Makefile
18 lines
268 B
Makefile
ROOT := /mnt
|
|
HOST := ni
|
|
|
|
.PHONY: install
|
|
install:
|
|
nixos-install --flake ".#${HOST}" --root ${ROOT}
|
|
|
|
.PHONY: switch
|
|
switch:
|
|
nixos-rebuild --flake ".#${HOST}" switch
|
|
|
|
.PHONY: test
|
|
test:
|
|
nixos-rebuild --flake ".#${HOST}" dry-activate
|
|
|
|
.PHONY: update
|
|
nix flake update
|