Add Incus to the server services, put Kitty on its own router for an extra public IP

This commit is contained in:
Bun 2025-06-06 02:18:44 -04:00
parent 9c2bf2a898
commit 95140d5a0e
7 changed files with 45 additions and 6 deletions

View file

@ -4,6 +4,7 @@
./cfdyndns
./forgejo
./icecast
./incus
./jellyfin
./mailserver
./mastodon

View file

@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
{
config = lib.mkIf config.virtualisation.incus.enable {
networking.firewall.interfaces.incusbr0 = let
ports = [
53
67
];
in {
allowedTCPPorts = ports;
allowedUDPPorts = ports;
};
environment.persistence."/persist".directories = [ "/var/lib/incus" ];
};
}

View file

@ -36,6 +36,7 @@
"libvirtd"
"qemu-libvirtd"
"incus-admin"
"minecraft"
"nfsShare"
"nginx"