Add Incus to the server services, put Kitty on its own router for an extra public IP
This commit is contained in:
parent
9c2bf2a898
commit
95140d5a0e
7 changed files with 45 additions and 6 deletions
|
@ -4,6 +4,7 @@
|
|||
./cfdyndns
|
||||
./forgejo
|
||||
./icecast
|
||||
./incus
|
||||
./jellyfin
|
||||
./mailserver
|
||||
./mastodon
|
||||
|
|
16
modules/system/services/server/incus/default.nix
Normal file
16
modules/system/services/server/incus/default.nix
Normal 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" ];
|
||||
};
|
||||
}
|
|
@ -36,6 +36,7 @@
|
|||
"libvirtd"
|
||||
"qemu-libvirtd"
|
||||
|
||||
"incus-admin"
|
||||
"minecraft"
|
||||
"nfsShare"
|
||||
"nginx"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue