initial commit
This commit is contained in:
commit
c4dc2e0f36
25 changed files with 558 additions and 0 deletions
15
Makefile
Normal file
15
Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
HOST ?= $(shell hostname)
|
||||
HOSTS = solo c2
|
||||
|
||||
_all:
|
||||
@true
|
||||
.PHONY: _all $(addprefix, _swtich_,${HOSTS}) _swtich_
|
||||
.SUFFIXES:
|
||||
|
||||
switch: _switch_${HOST}
|
||||
|
||||
_switch_:
|
||||
@echo "ERROR: couldn't find hostname"
|
||||
@false
|
||||
_switch_%:
|
||||
nixos-rebuild switch --flake .#$*
|
||||
Loading…
Add table
Add a link
Reference in a new issue