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 96ac9ab04b
commit c125c39903
Signed by: Daholli
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" = {