diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-04-08 08:31:15 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-04-08 08:31:15 -0700 |
| commit | ab204364dfeefc4069a37e1070ee8009f34ecf4d (patch) | |
| tree | 304ee131838ab62f545e524c1d954e693ef6687a /profiles/gtk/default.nix | |
| parent | modules: add a few more (diff) | |
| download | infra-ab204364dfeefc4069a37e1070ee8009f34ecf4d.tar.gz | |
profiles: create a few new profiles
Diffstat (limited to 'profiles/gtk/default.nix')
| -rw-r--r-- | profiles/gtk/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/profiles/gtk/default.nix b/profiles/gtk/default.nix new file mode 100644 index 0000000..c84832b --- /dev/null +++ b/profiles/gtk/default.nix @@ -0,0 +1,13 @@ +{ config, lib, ... }: +let cfg = config.my.profiles.gtk; +in { + options.my.profiles.gtk = with lib; { + enable = mkEnableOption "gtk 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; + }; +} |
