configs/workstation/incus.nix

20 lines
320 B
Nix
Raw Normal View History

2024-08-06 10:13:59 +02:00
{ config, pkgs, ... }:
{
virtualisation.incus = {
enable = true;
ui.enable = true;
2024-12-21 12:06:38 +01:00
package = pkgs.incus;
2024-08-06 10:13:59 +02:00
};
environment.systemPackages = with pkgs; [
incus
lxc
];
users.users.geir = {
extraGroups = [
2024-12-21 12:06:38 +01:00
"incus-admin"
2024-08-06 10:13:59 +02:00
];
};
networking.firewall.allowedTCPPorts = [ 8443 ];
}