No description
Find a file
2024-10-24 11:44:17 +02:00
.forgejo/workflows CI test: try to add node to /home/tbarnouin/micromamba/condabin:/nix/store/0fpd2rfwlf1gqv4x95rpfmyg57w018gn-kitty-0.34.1/bin:/nix/store/ppsaphf6wy9y8wqrcdlk2cciy6f8xqxw-imagemagick-7.1.1-38/bin:/nix/store/5fk6fyzbar5hmrhm5hnjdvvk261afms3-ncurses-6.4-dev/bin:/home/tbarnouin/.local/bin:/run/wrappers/bin:/home/tbarnouin/.nix-profile/bin:/nix/profile/bin:/home/tbarnouin/.local/state/nix/profile/bin:/etc/profiles/per-user/tbarnouin/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin 2024-10-24 11:44:17 +02:00
hosts Add qemu guest agent to nixmox hypervisors 2024-09-24 16:10:12 +02:00
secrets Try grafana LXC + Agenix (forgejo-runner not working) 2024-10-23 15:52:13 +02:00
services Forward rsyslog logs to remote server 2024-10-24 10:50:34 +02:00
systems LXC config is imported in minimalConfig, enabled in flake.nix and proxmox-lxc.nix module is imported in flake 2024-10-16 15:37:45 +02:00
flake.lock Agenix config for forgejo tested and working 2024-10-23 13:10:45 +02:00
flake.nix Fix typos, working agenix and grafana config 2024-10-23 16:45:46 +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