19 lines
306 B
Nix
19 lines
306 B
Nix
|
{ config, pkgs, ... }:
|
||
|
{
|
||
|
virtualisation.incus = {
|
||
|
enable = true;
|
||
|
ui.enable = true;
|
||
|
};
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
incus
|
||
|
lxc
|
||
|
];
|
||
|
users.users.geir = {
|
||
|
extraGroups = [
|
||
|
"incus-admin"
|
||
|
];
|
||
|
};
|
||
|
networking.firewall.allowedTCPPorts = [ 8443 ];
|
||
|
}
|