add desktop refactors so dconf is disabled by default

This commit is contained in:
Christoph Hollizeck 2024-11-04 23:14:41 +01:00
parent f2e87e6b13
commit 557723ce18
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
5 changed files with 634 additions and 470 deletions

View file

@ -6,10 +6,17 @@
...
}:
let
inherit (lib) mkIf mkEnableOption;
user = config.${namespace}.user.name;
cfg = config.${namespace}.desktop.hyprland;
in
{
config = {
options.${namespace}.desktop = {
enable = mkEnableOption "Whether to enable desktop theming";
};
config = mkIf cfg.enable {
${namespace}.home.extraOptions = {
dconf.settings = {
"org/gnome/desktop/interface" = {