From ce68c0a9e4c4ce78c48868219e4e5bcda849e228 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 30 Jun 2025 10:36:00 -0700 Subject: 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. --- docs/install.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/install.org (limited to 'docs') 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 -- cgit v1.2.3