aboutsummaryrefslogtreecommitdiff
path: root/docs/install.org
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-06-30 10:36:00 -0700
committerFranck Cuny <franck@fcuny.net>2025-06-30 10:36:00 -0700
commitce68c0a9e4c4ce78c48868219e4e5bcda849e228 (patch)
tree208bd056e4dfdd37bc1bd1c2134145c0d04b7da7 /docs/install.org
parentonly include some home-manager configurations on Darwin (diff)
downloadinfra-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.org14
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