blob: bdc522e6a838ab1985c0e706782c8577af09900e (
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
|
{ config, pkgs, ... }:
{ services.xserver = {
desktopManager.xterm.enable = false;
displayManager = {
lightdm = {
enable = true;
greeters.enso.enable = true;
};
sessionCommands = ''
${pkgs.xorg.xrdb}/bin/xrdb -merge $HOME/.xresources/main
${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr -solid '#4d4d4c'
${pkgs.networkmanagerapplet}/bin/nm-applet &
'';
};
xautolock = {
enable = true;
locker = "${pkgs.i3lock}/bin/i3lock -n";
enableNotifier = true;
notifier = "${pkgs.libnotify}/bin/notify-send \"Locking in 10 seconds\"";
time = 5;
};
};
environment.systemPackages = with pkgs; [
dmenu
dunst
libnotify # for notify-send
rofi
sxhkd
maim
perlPackages.FileMimeInfo # xdg-utils uses this when no DE
];
}
|