19 lines
397 B
Nix
19 lines
397 B
Nix
{ lib, config, pkgs, ... }: {
|
|
config = lib.mkIf (config.syscfg.make.virt) {
|
|
|
|
#environment.systemPackages = [ pkgs.qemu ];
|
|
virtualisation = {
|
|
#libvirtd.enable = true;
|
|
# waydroid.enable = true;
|
|
# lxd.enable = true;
|
|
docker = {
|
|
enable = true;
|
|
rootless = {
|
|
enable = true;
|
|
setSocketVariable = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|