No description
Find a file
2024-10-16 15:01:03 +02:00
hosts Add qemu guest agent to nixmox hypervisors 2024-09-24 16:10:12 +02:00
services Delete LXC config from minimalConfig 2024-10-16 15:01:03 +02:00
systems Separate microvm and LXC config 2024-10-16 14:33:27 +02:00
flake.lock Update flake lock 2024-10-15 21:24:14 +02:00
flake.nix Resolve merge conflict 2024-10-16 14:15:56 +02:00
README.md Add doc in README 2024-09-10 15:09:18 +02:00

NixOS Hypervisor config

NixOS Flake to deploy an hypervisor with microvm capability and microvms config

Build an image :

# generate a proxmox VMA file
nixos-generate -f proxmox --flake .#nixos-hypervisor

# generate a qcow2 file for plain KVM
nixos-generate -f qcow --flake .#nixos-hypervisor

Rebuild the config for an existing VM :

# build locally
cd /etc/nixos/
git clone https://git.le43.eu/tbarnouin/nixos-hypervisor.git
cd nixos-hypervisor
sudo nixos-rebuild switch

# build remotely
nixos-rebuild --target-host root@<IP> switch --flake .#nixos-hypervisor