34 lines
601 B
Nix
34 lines
601 B
Nix
{ config, modulesPath, pkgs, inputs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
|
../modules/core.nix
|
|
../modules/server.nix
|
|
./caddy.nix
|
|
];
|
|
|
|
nix.settings.sandbox = false;
|
|
|
|
proxmoxLXC = {
|
|
manageNetwork = false;
|
|
privileged = true;
|
|
};
|
|
|
|
networking.hostName = "wintermute";
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
|
|
services.avahi = {
|
|
enable = true;
|
|
nssmdns4 = true;
|
|
nssmdns6 = true;
|
|
publish = {
|
|
enable = true;
|
|
addresses = true;
|
|
};
|
|
openFirewall = true;
|
|
};
|
|
|
|
system.stateVersion = "25.11";
|
|
}
|