2024-01-19 11:58:52 +01:00

21 lines
412 B
Nix

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