diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-06-30 10:36:00 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-06-30 10:36:00 -0700 |
| commit | ce68c0a9e4c4ce78c48868219e4e5bcda849e228 (patch) | |
| tree | 208bd056e4dfdd37bc1bd1c2134145c0d04b7da7 /docs/install.org | |
| parent | only include some home-manager configurations on Darwin (diff) | |
| download | infra-ce68c0a9e4c4ce78c48868219e4e5bcda849e228.tar.gz | |
add configuration for vm-synology
This is a VM running on the Synology NAS. For now it only run
`gitolite`, but we may host additional services in the future.
Diffstat (limited to '')
| -rw-r--r-- | docs/install.org | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/install.org b/docs/install.org new file mode 100644 index 0000000..e4e279c --- /dev/null +++ b/docs/install.org @@ -0,0 +1,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 |
