2023-11-08 17:15:32 +01:00

19 lines
359 B
Nix

{ lib, config, ... }:
let cfg = config.hostcfg.make.virt;
in {
config = lib.mkIf cfg {
virtualisation = {
# libvirtd.enable = true;
# waydroid.enable = true;
# lxd.enable = true;
docker = {
enable = true;
rootless = {
enable = true;
setSocketVariable = true;
};
};
};
};
}