Better proxmox LXC declaration

This commit is contained in:
Théo Barnouin 2024-12-12 11:32:58 +01:00
parent 93b85f705f
commit 44655068b8
2 changed files with 5 additions and 2 deletions

View file

@ -75,6 +75,7 @@
modules = [ modules = [
agenix.nixosModules.default agenix.nixosModules.default
microvm.nixosModules.microvm microvm.nixosModules.microvm
"${inputs.nixpkgs}/nixos/modules/virtualisation/proxmox-lxc.nix"
"${inputs.self}/systems" "${inputs.self}/systems"
"${inputs.self}/services" "${inputs.self}/services"
{ {
@ -133,6 +134,7 @@
modules = [ modules = [
agenix.nixosModules.default agenix.nixosModules.default
microvm.nixosModules.microvm microvm.nixosModules.microvm
"${inputs.nixpkgs}/nixos/modules/virtualisation/proxmox-lxc.nix"
"${inputs.self}/systems" "${inputs.self}/systems"
"${inputs.self}/services" "${inputs.self}/services"
{ {
@ -158,6 +160,7 @@
modules = [ modules = [
agenix.nixosModules.default agenix.nixosModules.default
inputs.authentik-nix.nixosModules.default inputs.authentik-nix.nixosModules.default
"${inputs.nixpkgs}/nixos/modules/virtualisation/proxmox-lxc.nix"
{ {
services.authentik = { services.authentik = {
enable = true; enable = true;

View file

@ -11,8 +11,8 @@ in
proxmoxLXC = { proxmoxLXC = {
enable = true; enable = true;
privileged = false; privileged = false;
manageNetwork = true; manageNetwork = false;
manageHostName = true; manageHostName = false;
}; };
systemd.suppressedSystemUnits = [ systemd.suppressedSystemUnits = [
"dev-mqueue.mount" "dev-mqueue.mount"