soraefir 972cb47e3f
All checks were successful
Nix Build / build-nixos (push) Successful in 5m27s
Merged Host/Home Opt into SysOpt
2024-04-14 12:09:03 +02:00

21 lines
411 B
Nix

{ lib, config, pkgs, ... }:
let cfg = config.syscfg.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;
};
};
};
};
}