mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
15 lines
234 B
Makefile
15 lines
234 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
|