initial commit

This commit is contained in:
Henri Dohmen 2025-03-01 18:19:19 +01:00
commit c4dc2e0f36
25 changed files with 558 additions and 0 deletions

15
Makefile Normal file
View 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 .#$*