Files
stormwind-nixfiles/incus.nix
2025-01-13 02:18:00 +01:00

19 lines
351 B
Nix

{ config, pkgs, ... }:
{
virtualisation.incus.enable = true;
networking = {
nftables.enable = true;
firewall.interfaces = {
incusbr0 = {
allowedTCPPorts = [ 53 67 ];
allowedUDPPorts = [ 53 67 ];
};
};
};
# Load the kernel volume for lvm thin provisioning
boot.kernelModules = [ "dm_thin_pool" ];
}