initial commit for module-refactor

This commit is contained in:
pagedmov
2024-11-01 21:01:52 -04:00
parent 7bee6ebce5
commit ff2535e7a7
62 changed files with 2819 additions and 2670 deletions

View File

@@ -1,4 +1,9 @@
{username, ...}: {
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
{lib, config, username, ...}: {
options = {
virtOpts.enable = lib.mkEnableOption "enables virtualization";
};
config = lib.mkIf config.virtOpts.enable {
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
};
}