diff --git a/Makefile b/Makefile index a6203a6..496f72e 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,12 @@ -HOSTNAME ?= $(hostname) +HOSTNAME = $(shell hostname) all: @echo "No command provided" + +machine: + @echo "${HOSTNAME}" + switch: nixos-rebuild switch --flake ".#${HOSTNAME}" --use-remote-sudo