porcorosso: enable lxd
This commit is contained in:
parent
ee5a7dc6ec
commit
8e2670548d
1 changed files with 11 additions and 0 deletions
|
@ -83,6 +83,17 @@ in {
|
||||||
dockerCompat = true;
|
dockerCompat = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Enable LXD
|
||||||
|
virtualisation.lxd = {
|
||||||
|
enable = true;
|
||||||
|
zfsSupport = true;
|
||||||
|
recommendedSysctlSettings = true;
|
||||||
|
};
|
||||||
|
systemd.services.lxd.serviceConfig.path = lib.mkAfter (with pkgs; [
|
||||||
|
iptables
|
||||||
|
ebtables
|
||||||
|
]);
|
||||||
|
|
||||||
# Enable libvirtd.
|
# Enable libvirtd.
|
||||||
virtualisation.libvirtd = {
|
virtualisation.libvirtd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue