marleyos/modules/home/appearance/gtk/default.nix
punkfairie 15372b7726
feat: ${namespace} -> marleyos
There was little point to doing this anyway as project-wide find &
replace is trivial.
2024-11-16 22:36:34 -08:00

26 lines
432 B
Nix

{
lib,
config,
namespace,
...
}:
let
inherit (lib) mkIf;
inherit (lib.marleyos) mkEnableModule enabled;
cfg = config.marleyos.appearance.gtk;
inherit (config.marleyos.theme) colors;
in
{
options = mkEnableModule "appearance.gtk";
config = mkIf cfg.enable {
gtk = {
enable = true;
"${colors.base}" = enabled;
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
};
};
}