Files
stormwind-nixfiles/incus.nix

19 lines
365 B
Nix
Raw Normal View History

2025-01-13 01:52:37 +01:00
{ config, pkgs, ... }:
{
virtualisation.incus.enable = true;
networking = {
nftables.enable = true;
firewall.interfaces = {
incusbr0 = {
allowedTCPPorts = [ 53 67 ];
allowedUDPPorts = [ 53 67 ];
};
};
};
2025-01-13 02:18:00 +01:00
# Load the kernel volume for lvm thin provisioning
2025-01-14 13:10:24 +01:00
boot.kernelModules = [ "dm_thin_pool" "dm_snapshot" ];
2025-01-13 01:52:37 +01:00
}