nixos-config/images/remote-install
Ingolf Wagner 93560cdd74
global stylix and proper oh-my-posh
2023-07-01 00:20:03 +02:00
..
README.md global stylix and proper oh-my-posh 2023-07-01 00:20:03 +02:00
config.nix reformat 2021-11-01 19:30:41 +01:00
remote-install.nix fixed nixos-rebuild switch warnings for workhorse 2021-09-11 20:23:53 +02:00

README.md

remote installation iso

  • ./config.nix : to generate the installation image
  • ./remote-service.nix : tor configuration you have to start on your machine.

Steps

  • import ./remote-service.nix in your /etc/nixos/configuration.nix
  • nixos-rebuild switch
  • run remote-install-get-hiddenReceiver and enter the result in ./config.nix as hiddenReceiver
  • set the public key in ./config.nix
  • run nixos-generate -f install-iso -c ./config.nix
  • prepare the usb stick : sudo if=<path of the iso> of=/dev/<device> bs=4096
  • boot the usb-stick at the new machine
  • run remote-install-start-service
  • after some time you will see a you can use to login to the new machine.

Now you can do the normal installations procedure.