porcorosso: enable lxd

This commit is contained in:
Luke Granger-Brown 2020-12-26 15:39:41 +00:00
parent ee5a7dc6ec
commit 8e2670548d

View file

@ -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;