- Remove alex from nix.settings.trusted-users in core.nix (was not in the original base.nix and widens attack surface by allowing arbitrary binary cache configuration without sudo) - Restore useful comments in base.nix (zram explanation, earlyoom purpose, avahi/systemd-resolved notes) - Move documentation.man.man-db.enable = false into core.nix so all hosts get it, remove redundant setting from wintermute and nightcity Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
33 lines
575 B
Nix
33 lines
575 B
Nix
{ config, modulesPath, pkgs, inputs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
|
../modules/core.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";
|
|
}
|