mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Fixed a bug in Makefile
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,8 +1,12 @@
|
|||||||
HOSTNAME ?= $(hostname)
|
HOSTNAME = $(shell hostname)
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo "No command provided"
|
@echo "No command provided"
|
||||||
|
|
||||||
|
|
||||||
|
machine:
|
||||||
|
@echo "${HOSTNAME}"
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
nixos-rebuild switch --flake ".#${HOSTNAME}" --use-remote-sudo
|
nixos-rebuild switch --flake ".#${HOSTNAME}" --use-remote-sudo
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user