nixos-config/Makefile

18 lines
341 B
Makefile
Raw Normal View History

2021-11-30 01:03:05 +00:00
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
2021-12-02 14:02:29 +00:00
.PHONY: update
2022-04-30 12:30:22 +00:00
nix flake update --commit-lock-file --commit-lockfile-summary "flake.lock: update inputs"