33 lines
655 B
Nix
33 lines
655 B
Nix
|
{ config, lib, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config.custom.settings = mkMerge [
|
||
|
(mkIf config.custom.default {
|
||
|
boot.enable = true;
|
||
|
environment.enable = true;
|
||
|
hardware.enable = true;
|
||
|
networking.enable = true;
|
||
|
packages.enable = true;
|
||
|
security.enable = true;
|
||
|
users.enable = true;
|
||
|
})
|
||
|
|
||
|
(mkIf config.custom.minimal {
|
||
|
dconf.default = true;
|
||
|
fonts.enable = true;
|
||
|
gtk.enable = true;
|
||
|
qt.enable = true;
|
||
|
xdg.enable = true;
|
||
|
})
|
||
|
|
||
|
(mkIf config.custom.full {
|
||
|
accounts.enable = true;
|
||
|
containers.enable = true;
|
||
|
vm.enable = true;
|
||
|
waydroid.enable = true;
|
||
|
})
|
||
|
];
|
||
|
}
|