-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathgnome.nix
More file actions
50 lines (44 loc) · 1.01 KB
/
gnome.nix
File metadata and controls
50 lines (44 loc) · 1.01 KB
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
{
lib,
pkgs,
...
}:
{
targets.genericLinux.enable = pkgs.stdenvNoCC.isLinux;
xdg.mime.enable = pkgs.stdenvNoCC.isLinux;
gtk = lib.mkIf pkgs.stdenvNoCC.isLinux {
enable = true;
iconTheme = {
package = pkgs.yaru-theme;
name = "Yaru";
};
font = {
package = pkgs.dejavu_fonts;
name = "DejaVu Sans";
};
theme = {
package = pkgs.yaru-theme;
name = "Yaru-dark";
};
gtk3.extraConfig = {
gtk-icon-theme-name = "Yaru";
gtk-theme-name = "Yaru-dark";
gtk-application-prefer-dark-theme = 1;
};
};
dconf.settings = lib.mkIf pkgs.stdenvNoCC.isLinux {
"org/gnome/desktop/datetime" = {
automatic-timezone = true;
};
"org/gnome/desktop/peripherals/keyboard" = {
delay = "uint32 304";
repeat-interval = "uint32 13";
};
"org/gnome/desktop/peripherals/touchpad" = {
two-finger-scrolling-enabled = true;
};
"org/gnome/desktop/wm/keybindings" = {
close = [ "<Alt>w" ];
};
};
}