No description
Find a file
Théo Barnouin 2513d163e9
Some checks are pending
/ Build Nix targets (push) Waiting to run
Working Proxmox VM + jellyfin hw encoding
2025-04-11 15:58:43 +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 Try to use age for crowdsec lapi config 2025-04-04 15:30:24 +02:00
packages/cs-firewall-bouncer Add crowdsec module and cs-firewall-bouncer package 2025-04-04 10:30:17 +02:00
secrets Working crowdsec config for Authentik + agenix rekey 2025-04-07 13:09:12 +02:00
services Working Proxmox VM + jellyfin hw encoding 2025-04-11 15:58:43 +02:00
systems Try to implement crowdsec everywhere, connected to central lapi 2025-04-04 17:44:19 +02:00
.gitignore Update .gitignore 2025-04-11 15:55:56 +02:00
flake.lock Remove microvm and correct build for nginx 2025-04-04 14:09:58 +02:00
flake.nix Working crowdsec config 2025-04-04 16:48:14 +02:00
README.md Add doc in README 2024-09-10 15:09:18 +02:00
secrets.nix Try to implement crowdsec everywhere, connected to central lapi 2025-04-04 17:44:19 +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