blob: a20cc1f077af714b5c3d36d9d40a527f0ea1c418 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ options, config, lib, pkgs, namespace, ... }:
with lib; with lib.${namespace}; let
cfg = config.${namespace}.desktop.components.gtk;
in {
options.${namespace}.desktop.components.gtk = with types; {
enable = mkEnableOption "gtk";
};
config = mkIf cfg.enable {
gtk = {
enable = true;
#TODO: dynamic theming
theme = {
package = pkgs.gruvbox-gtk-theme;
name = "Gruvbox-Dark";
};
font = {
name = "monospace";
size = 8;
};
};
};
}
|