diff --git a/ops/nixos/porcorosso/default.nix b/ops/nixos/porcorosso/default.nix index b2cd710c0b..29a67689df 100644 --- a/ops/nixos/porcorosso/default.nix +++ b/ops/nixos/porcorosso/default.nix @@ -83,6 +83,17 @@ in { 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. virtualisation.libvirtd = { enable = true;