nix-config/profiles/gtk/default.nix

18 lines
345 B
Nix
Raw Normal View History

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
programs.dconf.enable = true;
2021-05-09 11:48:27 +02:00
# GTK theme configuration
my.home.gtk.enable = true;
};
}