No description
Find a file
Théo Barnouin d039cc3131
All checks were successful
/ Build Nix targets (push) Successful in 3m30s
Functioning OAuth for grafana
2025-01-08 12:57:14 +01:00
.forgejo/workflows CI test: run nix flake check on CI 2024-10-24 12:08:08 +02:00
hosts Update everyone to 24.11 2025-01-08 10:02:38 +01:00
secrets Rekey secrets 2025-01-08 09:20:10 +01:00
services Functioning OAuth for grafana 2025-01-08 12:57:14 +01:00
systems Update everyone to 24.11 2025-01-08 10:02:38 +01:00
flake.lock Update everyone to 24.11 2025-01-08 10:02:38 +01:00
flake.nix Comment template config to avoie flake check error 2025-01-08 11:54:10 +01:00
README.md Add doc in README 2024-09-10 15:09:18 +02:00
secrets.nix Functioning OAuth for grafana 2025-01-08 12:57:14 +01: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