Migrate to snowfall lib
This commit is contained in:
18
modules/nixos/system/hw/virt/default.nix
Normal file
18
modules/nixos/system/hw/virt/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user