22 lines
613 B
Markdown
22 lines
613 B
Markdown
|
# deploy auf hainich
|
||
|
**NICHT** nix os-re build sw itch
|
||
|
Auf hainich mit ssh verbinden.
|
||
|
Im root Verzeichnis sollte das haccfiles repro (das hier) liegen
|
||
|
Falls ja, einfach pullen
|
||
|
``git pull origin main;``
|
||
|
|
||
|
sonst erneut clonen
|
||
|
|
||
|
``git clone https://gitlab.infra4future.de/infra/haccfiles.git``
|
||
|
|
||
|
dann in das repro wechseln
|
||
|
|
||
|
``cd /root/haccfiles``
|
||
|
|
||
|
Und das ganze bauen
|
||
|
|
||
|
``nix build -f . -I nixpkgs=https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz deploy.hainich``
|
||
|
|
||
|
und mit ``./result`` als neue boot option auswählen und darauf wechseln
|
||
|
oder
|
||
|
mit``./result test`` das ganze nur bis zum reboot zu behalten.
|