blob: 531adb4c211ed01d8b29bfbac46a257c14475963 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{ config, lib, pkgs, ... }: {
options = {
theme.mint = {
enable = lib.mkEnableOption "enables mint theme";
# TODO add theme.dark option instead of specifying Dark-Color
theme.color = lib.mkOption {
type = lib.types.str;
default = "Dark-Aqua";
description = "mint-y theme color eg. 'Dark-Aqua' or 'Red'";
};
icons.color = lib.mkOption {
type = lib.types.str;
default = "Aqua";
description = "mint-y icons color eg. 'Aqua' or 'Red'";
};
};
};
config = {
gtk = {
enable = true;
theme = lib.mkIf config.theme.mint.enable {
package = pkgs.cinnamon.mint-themes;
name = "Mint-Y-${config.theme.mint.theme.color}";
};
iconTheme = lib.mkIf config.theme.mint.enable {
package = pkgs.cinnamon.mint-y-icons;
name = "Mint-Y-${config.theme.mint.icons.color}";
};
font = {
package = pkgs.inter;
name = "inter";
};
cursorTheme = {
name = "Adwaita";
};
gtk3.bookmarks = [
"file:///home/timmy/dls Downloads"
"file:///home/timmy/docs Documents"
"file:///home/timmy/docs/src/sites sites"
"file:///home/timmy/docs/src/scripts scripts"
"file:///home/timmy/docs/src/programs programs"
];
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
};
qt = {
enable = true;
platformTheme.name = "gtk3";
};
};
}
|