mirror of
https://github.com/kmein/niveum
synced 2026-03-22 04:41:07 +01:00
ssh: fix niveum systems; cloud: start on network online; niveum-deploy
This commit is contained in:
@@ -139,11 +139,9 @@
|
||||
(pkgs.unstable.writers.writeDashBin "niveum-deploy" ''
|
||||
NIVEUM_DIR=/home/kfm/prog/git/niveum
|
||||
|
||||
for system in "$@"; do
|
||||
eval $(nix-build --no-out-link "$NIVEUM_DIR/deploy.nix" -A "$system") &
|
||||
done
|
||||
[ $# -eq 1 ] || echo >&2 "Usage: niveum-deploy SYSTEM"
|
||||
|
||||
wait
|
||||
eval $(nix-build --no-out-link "$NIVEUM_DIR/deploy.nix" -A "$1")
|
||||
'')
|
||||
(pkgs.unstable.writers.writeDashBin "niveum-update" ''
|
||||
NIVEUM_DIR=/home/kfm/prog/git/niveum
|
||||
|
||||
@@ -30,17 +30,17 @@ in {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
scardanelli = {
|
||||
hostname = "scardanelli.local";
|
||||
hostname = "scardanelli.r";
|
||||
user = "kfm";
|
||||
port = sshPort;
|
||||
};
|
||||
homeros = {
|
||||
hostname = "homeros.local";
|
||||
hostname = "homeros.r";
|
||||
user = "kfm";
|
||||
port = sshPort;
|
||||
};
|
||||
catullus = {
|
||||
hostname = "catullus.local";
|
||||
hostname = "catullus.r";
|
||||
user = "root";
|
||||
};
|
||||
menstruation-logs = {
|
||||
|
||||
Reference in New Issue
Block a user