marleyos/modules/home/appearance/qt/default.nix

25 lines
463 B
Nix

{
lib,
config,
inputs,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.marleyos.appearance.qt;
in {
options.marleyos.appearance.qt.enable = mkEnableOption "qt";
config = mkIf cfg.enable {
xdg.configFile = mkIf config.rose-pine.enable {
"qt5ct/colors/rose-pine.conf" = {
source = "${inputs.rose-pine-qt5ct}/rose-pine.conf";
};
};
qt = {
enable = true;
style.name = "adwaita";
};
};
}