21 lines
406 B
Nix
21 lines
406 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
cfg = config.marleyos.appearance.gtk;
|
|
in {
|
|
options.marleyos.appearance.gtk.enable = lib.mkEnableOption "gtk";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.pointerCursor.gtk.enable = true;
|
|
|
|
gtk = {
|
|
enable = true;
|
|
|
|
rose-pine.enable = lib.mkIf config.rose-pine.enable true;
|
|
|
|
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
|
};
|
|
};
|
|
}
|