-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmate.nix
87 lines (81 loc) · 2.39 KB
/
mate.nix
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
{ pkgs, ... }: {
imports = [
./qt-style.nix
../services/networkmanager.nix
];
# Exclude MATE themes. Yaru will be used instead.
# Don't install mate-netbook or caja-dropbox
environment = {
mate.excludePackages = with pkgs.mate; [
caja-dropbox
eom
mate-themes
mate-netbook
mate-icon-theme
mate-backgrounds
mate-icon-theme-faenza
];
# Add some packages to complete the MATE desktop
systemPackages = with pkgs; [
networkmanagerapplet
];
};
# Enable some programs to provide a complete desktop
programs = {
nm-applet.enable = true;
system-config-printer.enable = true;
};
# Enable services to round out the desktop
services = {
blueman.enable = true;
gnome.gnome-keyring.enable = true;
gvfs.enable = true;
system-config-printer.enable = true;
xserver = {
enable = true;
displayManager = {
lightdm.enable = true;
lightdm.greeters.gtk = {
enable = true;
cursorTheme.name = "Yaru";
cursorTheme.package = pkgs.yaru-theme;
cursorTheme.size = 32;
iconTheme.name = "Yaru-magenta-dark";
iconTheme.package = pkgs.yaru-theme;
theme.name = "Yaru-magenta-dark";
theme.package = pkgs.yaru-theme;
indicators = [
"~session"
"~host"
"~spacer"
"~clock"
"~spacer"
"~a11y"
"~power"
];
# https://github.com/Xubuntu/lightdm-gtk-greeter/blob/master/data/lightdm-gtk-greeter.conf
extraConfig = ''
# background = Background file to use, either an image path or a color (e.g. #772953)
font-name = Work Sans 12
xft-antialias = true
xft-dpi = 96
xft-hintstyle = slight
xft-rgba = rgb
active-monitor = #cursor
# position = x y ("50% 50%" by default) Login window position
# default-user-image = Image used as default user icon, path or #icon-name
hide-user-image = false
round-user-image = false
highlight-logged-user = true
panel-position = top
clock-format = %a, %b %d %H:%M
'';
};
};
desktopManager = {
mate.enable = true;
};
};
};
xdg.portal.extraPortals = [ xdg-desktop-portal-gtk ];
}