Set loki as build host

This commit is contained in:
Erwin Boskma 2022-10-17 22:20:49 +02:00
parent 65653ce3f9
commit a5c108f3db
Signed by: erwin
GPG key ID: 270B20D17394F7E5

View file

@ -15,7 +15,7 @@ let
command = targetPath: '' command = targetPath: ''
nix-shell -p git --run ' nix-shell -p git --run '
nix build -v '${targetPath}/machine-config#nixosConfigurations.$(hostname).config.system.build.toplevel' && \ nix build -v '${targetPath}/machine-config#nixosConfigurations.$(hostname).config.system.build.toplevel' && \
nixos-rebuild switch -vvv --show-trace --flake ${targetPath}/machine-config nixos-rebuild switch -vvv --show-trace --build-host builder@loki --flake ${targetPath}/machine-config
' '
''; '';
@ -36,5 +36,4 @@ in
drone = createHost "drone" "root@10.0.0.202"; drone = createHost "drone" "root@10.0.0.202";
proxy = createHost "proxy" "root@10.0.0.251"; proxy = createHost "proxy" "root@10.0.0.251";
gitea = createHost "gitea" "root@10.0.0.201"; gitea = createHost "gitea" "root@10.0.0.201";
vpn = createHost "vpn" "root@10.0.0.250";
} }