added distrobox/incus to workstation
This commit is contained in:
parent
5d01a8331a
commit
6d94ff47dc
2 changed files with 22 additions and 1 deletions
18
workstation/incus.nix
Normal file
18
workstation/incus.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ 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 ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue