deploy without nix
This commit is contained in:
parent
3e82d5f015
commit
ec9fbe1bed
1 changed files with 3 additions and 0 deletions
|
|
@ -66,3 +66,6 @@ Die config liegt nicht mehr wie gehabt auf dem server sondern heir in dem git re
|
|||
`nixos-rebuild switch --flake .#proxy --target-host root@141.56.51.1`
|
||||
|
||||
Das funktioniert nur wenn man einen ssh-config eintrag für die IP hat, da der Port gesetzt werden muss.
|
||||
## Kein NIX auf der lokalen Maschine
|
||||
Wenn lokal kein nix installiert is kann natürlich nich nixos-rebuild verwendet werden. Stattdessen kann man den command auf dem Zielsystem ausführen:
|
||||
`ssh root@141.56.51.1 "nixos-rebuild switch --flake git+https://codeberg.org/stura-htw-dresden/stura-infra#proxy"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue