-
Notifications
You must be signed in to change notification settings - Fork 0
/
xorg.nix
57 lines (50 loc) · 1.26 KB
/
xorg.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
{ config, pkgs, ... }:
{
environment = { systemPackages = with pkgs; [ xclip xdotool maim ]; };
# Enable the X11 windowing system.
services.xserver = {
enable = true;
displayManager = {
session = [{
manage = "desktop";
name = "xsession";
start = "exec $HOME/.xsession";
}];
lightdm = {
enable = true;
background = "/etc/wallpaper/wallpaper.png";
greeters.gtk = {
enable = true;
theme = {
name = "WhiteSur-dark-alt-purple";
package = pkgs.whitesur-gtk-theme;
};
cursorTheme = {
name = "Quintom_Ink";
package = pkgs.quintom-cursor-theme;
};
indicators = [ "~spacer" "~clock" "~spacer" "~session" "~power" ];
clock-format = "%I:%M";
};
};
};
libinput = {
enable = true;
mouse.accelProfile = "flat";
touchpad = {
naturalScrolling = true;
accelSpeed = "0.3";
#accelProfile = "flat";
};
};
config = ''
Section "InputClass"
Identifier "mouse accel"
Driver "libinput"
MatchIsPointer "on"
Option "AccelProfile" "flat"
Option "AccelSpeed" "0"
EndSection
'';
};
}