This commit is contained in:
Finn Linck Ryan 2026-01-11 01:42:54 +00:00
commit aae151cee6
33 changed files with 1351 additions and 0 deletions

19
scripts/rebuild-system.sh Executable file
View file

@ -0,0 +1,19 @@
#!/usr/bin/env bash
# rebuild-system.sh - Rebuild nixos configurations
#
# USAGE:
# rebuild-system.sh # Rebuild system with current hostname
# rebuild-system.sh hostname # Rebuild specific system
#
# EXAMPLES:
# rebuild-system.sh
# rebuild-system.sh makise
if [ ! -z $1 ]; then
export HOST=$1
else
export HOST=$(hostname)
fi
nixos-rebuild switch --flake .#$HOST --sudo