add incus
This commit is contained in:
15
incus.nix
Normal file
15
incus.nix
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
virtualisation.incus.enable = true;
|
||||||
|
networking = {
|
||||||
|
nftables.enable = true;
|
||||||
|
firewall.interfaces = {
|
||||||
|
incusbr0 = {
|
||||||
|
allowedTCPPorts = [ 53 67 ];
|
||||||
|
allowedUDPPorts = [ 53 67 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
@@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
extraGroups = [
|
extraGroups = [
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"wheel"
|
"wheel"
|
||||||
|
"incus-admin"
|
||||||
];
|
];
|
||||||
packages = with pkgs; [];
|
packages = with pkgs; [];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user