punkfairie
15372b7726
There was little point to doing this anyway as project-wide find & replace is trivial.
29 lines
517 B
Nix
29 lines
517 B
Nix
{
|
|
lib,
|
|
config,
|
|
inputs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIf;
|
|
inherit (lib.marleyos) mkEnableModule;
|
|
|
|
cfg = config.marleyos.appearance.qt;
|
|
inherit (config.marleyos.theme) colors;
|
|
in
|
|
{
|
|
options = mkEnableModule "appearance.qt";
|
|
|
|
config = mkIf cfg.enable {
|
|
xdg.configFile = mkIf (colors.base == "rose-pine") {
|
|
"qt5ct/colors/rose-pine.conf" = {
|
|
source = "${inputs.rose-pine-qt5ct}/rose-pine.conf";
|
|
};
|
|
};
|
|
|
|
qt = {
|
|
enable = true;
|
|
style.name = "adwaita";
|
|
};
|
|
};
|
|
}
|