#+TITLE: Installation #+AUTHOR: Franck Cuny #+EMAIL: franck@fcuny.net * Virtual machine running on the Synology NAS ** Creating the VM - chose VGA for the display (otherwise ~systemd-udevd~ gets stuck) ** Install NixOS on the VM 1. Boot to the installer 2. Copy the local configuration to the remote host ~rsync -avz --exclude='.git' --exclude='result' world/ nixos@192.168.1.151:~/world/~ 3. On the VM, from the =world= directory: 1. Run =sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount nix/machines/vm-synology/disk.nix= 2. Run =nixos-install --root /mnt/ --flake .#vm-synology= 4. Reboot the VM