No description
Find a file
Théo Barnouin 7e84f9861d
Some checks are pending
/ Build Nix targets (push) Waiting to run
Add .gitignore
2025-04-03 14:00:06 +02:00
.forgejo/workflows CI test: run nix flake check on CI 2024-10-24 12:08:08 +02:00
hosts Format using alejandra 2025-01-23 14:13:19 +01:00
modules Add Crowdsec custom module (cimer Pablo) 2025-04-03 13:59:37 +02:00
secrets Cleanup 2025-03-06 11:50:28 +01:00
services Add prometheus crowdsec watcher 2025-04-03 13:59:14 +02:00
systems Format using alejandra 2025-01-23 14:13:19 +01:00
.gitignore Add .gitignore 2025-04-03 14:00:06 +02:00
flake.lock Update flakes and cleanup prometheus conf 2025-03-12 13:59:43 +01:00
flake.nix Test collabora-online 2025-03-06 12:12:43 +01: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