2024-11-15 21:33:15 -08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
inputs,
|
|
|
|
...
|
2025-01-12 15:29:50 -08:00
|
|
|
}: let
|
2024-11-16 22:34:40 -08:00
|
|
|
cfg = config.marleyos.appearance.qt;
|
2025-01-12 15:29:50 -08:00
|
|
|
in {
|
2025-01-13 21:05:10 -08:00
|
|
|
options.marleyos.appearance.qt.enable = lib.mkEnableOption "qt";
|
2024-11-15 21:33:15 -08:00
|
|
|
|
2025-01-13 21:05:10 -08:00
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
xdg.configFile = lib.mkIf config.rose-pine.enable {
|
2024-11-15 21:33:15 -08:00
|
|
|
"qt5ct/colors/rose-pine.conf" = {
|
|
|
|
source = "${inputs.rose-pine-qt5ct}/rose-pine.conf";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
qt = {
|
|
|
|
enable = true;
|
|
|
|
style.name = "adwaita";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|