blob: ff2d1d4e4fc690c8c37c2de64d42af29afd30c55 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
{
config,
lib,
pkgs,
...
}: let
cfg = config.getchoo.desktop.gnome;
inherit (lib) mkIf;
in {
config = mkIf cfg.enable {
home.packages = with pkgs;
[
adw-gtk3
tuba
]
++ (with pkgs.gnomeExtensions; [
caffeine
clipboard-history
gradience
]);
dconf = {
enable = true;
settings = {
"org/gnome/shell" = {
disable-user-extensions = false;
enabled-extensions = [
"[email protected]"
"[email protected]"
"[email protected]"
];
favorite-apps = [
"firefox.desktop"
"org.gnome.Nautilus.desktop"
"discord.desktop"
];
};
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
font-antialiasing = ''rgba'';
font-name = ''Noto Sans 11'';
document-font-name = ''Noto Sans 11'';
monospace-font-name = ''FiraCode Nerd Font 10'';
};
"org/gnome/desktop/peripherals/mouse" = {
accel-profile = ''flat'';
};
"org/gnome/desktop/wm/preferences" = {
titlebar-font = ''Noto Sans Bold 11'';
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
name = "blackbox";
command = "blackbox";
binding = "<Control><Alt>t";
};
"com/raggesilver/BlackBox" = {
font = ''FiraCode Nerd Font 12'';
theme-dark = ''Catppuccin-Mocha'';
remember-window-size = true;
};
};
};
gtk = {
enable = true;
theme = {
name = "adw-gtk3";
package = pkgs.adw-gtk3;
};
};
xdg.dataFile."blackbox/schemes/Catppuccin-Mocha.json".source =
pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "tilix";
rev = "3fd05e03419321f2f2a6aad6da733b28be1765ef";
sha256 = "sha256-SI7QxQ+WBHzeuXbTye+s8pi4tDVZOV4Aa33mRYO276k=";
}
+ "/src/Catppuccin-Mocha.json";
};
}
|