mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-08 04:38:06 +01:00
11 lines
200 B
Makefile
11 lines
200 B
Makefile
HOSTNAME ?= $(hostname)
|
|
|
|
all:
|
|
echo "No command provided"
|
|
|
|
switch:
|
|
nixos-rebuild switch --flake ".#${HOSTNAME}" --use-remote-sudo
|
|
|
|
test:
|
|
nixos-rebuild test --flake ".#${HOSTNAME}" --use-remote-sudo
|