add incus

This commit is contained in:
RootHost-Stormwind
2025-01-13 01:52:37 +01:00
parent 7dd3c8170d
commit c60446f024
3 changed files with 17 additions and 0 deletions

15
incus.nix Normal file
View File

@@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
virtualisation.incus.enable = true;
networking = {
nftables.enable = true;
firewall.interfaces = {
incusbr0 = {
allowedTCPPorts = [ 53 67 ];
allowedUDPPorts = [ 53 67 ];
};
};
};
}

View File

@@ -19,6 +19,7 @@ in
./user/stormwind/master.nix ./user/stormwind/master.nix
./sshd.nix ./sshd.nix
./tailscale.nix ./tailscale.nix
./incus.nix
./auto-upgrade.nix ./auto-upgrade.nix
]; ];

View File

@@ -29,6 +29,7 @@
extraGroups = [ extraGroups = [
"networkmanager" "networkmanager"
"wheel" "wheel"
"incus-admin"
]; ];
packages = with pkgs; []; packages = with pkgs; [];