blob: d52d596ef304051b70aeafedbf62b0c29fd51b34 (
plain) (
blame)
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
|
{ config, lib, pkgs, ... }:
{
xdg.enable = true;
xdg.userDirs = {
enable = true;
createDirectories = true;
desktop = "\$HOME/documents";
documents = "\$HOME/documents";
download = "\$HOME/downloads";
music = "\$HOME/media/music";
pictures = "\$HOME/media/pictures";
publicShare = "\$HOME/documents/public";
templates = "\$HOME/documents/templates";
videos = "\$HOME/media/videos";
};
# This is required for the gtk configuration below
home.packages = [
pkgs.gnome3.dconf
];
gtk = {
enable = true;
theme.name = "Adwaita";
iconTheme = {
name = "Adwaita";
package = pkgs.gnome3.adwaita-icon-theme;
};
gtk2 = {
extraConfig = ''
gtk-application-prefer-dark-theme = true
gtk-xft-antialias = 1
gtk-xft-hinting = 1
gtk-xft-hintstyle = "hintslight"
gtk-cursor-theme-size = cursorSize
'';
};
gtk3 = {
extraConfig = {
gtk-application-prefer-dark-theme = true;
gtk-xft-antialias = 1;
gtk-xft-hinting = 1;
gtk-xft-hintstyle = "hintslight";
};
};
};
imports = [
./common.nix
./i3.nix
./media.nix
./terminal.nix
];
}
|