2021-11-05 14:14:36 +01:00
|
|
|
{ config, lib, ... }:
|
2021-05-09 11:48:27 +02:00
|
|
|
let
|
|
|
|
cfg = config.my.profiles.gtk;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.my.profiles.gtk = with lib; {
|
2022-04-21 11:53:26 +02:00
|
|
|
enable = mkEnableOption "gtk profile";
|
2021-05-09 11:48:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
# Allow setting GTK configuration using home-manager
|
2021-09-27 17:06:52 +02:00
|
|
|
programs.dconf.enable = true;
|
2021-05-09 11:48:27 +02:00
|
|
|
|
|
|
|
# GTK theme configuration
|
|
|
|
my.home.gtk.enable = true;
|
|
|
|
};
|
|
|
|
}
|