blob: aceae90c7ff1fdad02ffbc25e8ab87f29b77f709 (
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
|
{ options, config, lib, namespace, ... }:
with lib; with lib.${namespace}; let
cfg = config.${namespace}.desktop.components.gtk;
theme = config.${namespace}.desktop.theme;
in {
options.${namespace}.desktop.components.gtk = with types; {
enable = mkEnableOption "gtk";
};
config = mkIf cfg.enable {
gtk = {
enable = true;
theme = theme.gtk;
gtk4.theme = theme.gtk;
font = {
name = "monospace";
size = 8;
};
};
};
}
|