Separate hm from os config

This commit is contained in:
SebastianStork 2024-06-26 13:19:54 +02:00
parent 0630cf387c
commit 78d8069a88
6 changed files with 30 additions and 24 deletions

View file

@ -0,0 +1,11 @@
{ config, lib, ... }:
{
options.myConfig.virtualisation.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.virtualisation.enable {
dconf.settings."org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
};
};
}