22 lines
328 B
Nix
22 lines
328 B
Nix
{ ... }:
|
|
|
|
{
|
|
flake.modules.nixos.lxc =
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
virtualisation = {
|
|
lxc = {
|
|
enable = true;
|
|
unprivilegedContainers = true;
|
|
};
|
|
incus.enable = true;
|
|
};
|
|
|
|
users.users.user.extraGroups = [ "incus-admin" ];
|
|
};
|
|
}
|