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 411d7151ba
commit 6c37323d72
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 1763BB530F50279E
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" = {