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
|
||||
./sshd.nix
|
||||
./tailscale.nix
|
||||
./incus.nix
|
||||
./auto-upgrade.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"incus-admin"
|
||||
];
|
||||
packages = with pkgs; [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user