From 3da796093e4666d157a9f778de26d2784e89e458 Mon Sep 17 00:00:00 2001 From: Fern Garden Date: Thu, 3 Jul 2025 18:21:56 +0800 Subject: [PATCH] add technitium lxc --- flake.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/flake.nix b/flake.nix index 188ff2a..f6fd6f7 100755 --- a/flake.nix +++ b/flake.nix @@ -53,5 +53,24 @@ ./hardware-configuration/vm-minecraft.nix # Include the results of the hardware scan. ]; }; + + nixosConfigurations.lxc-technitium = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + + modules = [ + (nixpkgs + "/nixos/modules/virtualisation/proxmox-lxc.nix") + + { + networking.hostName = "technitium"; + + services.technitium-dns-server = { + enable = true; + openFirewall = true; + }; + + system.stateVersion = "25.05"; + } + ]; + }; }; }