treewide: restructure modules

make every module contain config attribute
and if module doesn't use module arguments,
don't make it a function
This commit is contained in:
Wroclaw 2025-04-07 12:54:34 +02:00
parent 4dab0aff15
commit 27b241adff
10 changed files with 490 additions and 477 deletions

View file

@ -2,15 +2,17 @@
{ lib, config, pkgs, ... }:
{
#virtualisation.waydroid.enable = true;
programs.virt-manager.enable = true;
virtualisation.libvirtd = {
enable = true;
qemu.ovmf = {
config = {
#virtualisation.waydroid.enable = true;
programs.virt-manager.enable = true;
virtualisation.libvirtd = {
enable = true;
packages = [
pkgs.OVMFFull.fd
];
qemu.ovmf = {
enable = true;
packages = [
pkgs.OVMFFull.fd
];
};
};
};
}