nix-config/profiles/gtk/default.nix
Bruno BELANYI 9f86615e77
All checks were successful
continuous-integration/drone/push Build is passing
profiles: gtk: new best practices for dconf
2021-09-27 17:07:47 +02:00

18 lines
357 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.gtk;
in
{
options.my.profiles.gtk = with lib; {
enable = mkEnableOption "bluetooth profile";
};
config = lib.mkIf cfg.enable {
# Allow setting GTK configuration using home-manager
programs.dconf.enable = true;
# GTK theme configuration
my.home.gtk.enable = true;
};
}