Update reverse proxy backends from 192.168.80.4 to 192.168.80.9 for services still hosted on alt (files, shiori, books, recipes, jelly). Add avahi and bat to wintermute's packages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
39 lines
669 B
Nix
39 lines
669 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;
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
avahi
|
|
bat
|
|
];
|
|
|
|
system.stateVersion = "25.11";
|
|
}
|