aboutsummaryrefslogblamecommitdiff
path: root/docs/install.org
blob: e4e279c5d32b5a794d52e921148ef3378c652d2b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                                                                                                        
#+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