19 lines
359 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|