add technitium lxc
This commit is contained in:
parent
71dfeb2054
commit
3da796093e
1 changed files with 19 additions and 0 deletions
19
flake.nix
19
flake.nix
|
@ -53,5 +53,24 @@
|
||||||
./hardware-configuration/vm-minecraft.nix # Include the results of the hardware scan.
|
./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";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue