nix-config/profiles/gtk.nix

20 lines
391 B
Nix
Raw Normal View History

2021-05-09 11:48:27 +02:00
{ 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
services.dbus.packages = with pkgs; [
gnome3.dconf
];
# GTK theme configuration
my.home.gtk.enable = true;
};
}