{ pkgs, config, lib, inputs, ... }: let cfg = config.xyno.dark-theme; in { options.xyno.dark-theme.enable = lib.mkOption { default = false; }; config = lib.mkIf cfg.enable { dconf = { settings = { "org/gnome/desktop/interface" = { color-scheme = "prefer-dark"; }; }; }; gtk = { enable = true; gtk4.extraConfig.gtk-application-prefer-dark-theme = 1; gtk3.extraConfig.gtk-application-prefer-dark-theme = 1; }; qt = { enable = true; style.name = "breeze"; }; }; }