Init
Initial commit, nodes are mostly done, panel is WIP
This commit is contained in:
commit
01b75b0584
73 files changed
+3406
No files matched your search
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
root=$(cd "$(dirname "$0")/.." && pwd)
|
||||
cd "$root"
|
||||
source "$root/scripts/select-node.sh"
|
||||
|
||||
if [[ $# -ge 1 ]]; then
|
||||
node=$1
|
||||
else
|
||||
node=$(select_node)
|
||||
fi
|
||||
|
||||
nix run nixpkgs#nixos-rebuild -- switch \
|
||||
--flake ".#$node" \
|
||||
--target-host "$node" \
|
||||
--sudo \
|
||||
--ask-elevate-password
|
||||
Reference in new issue
Block a user