blob: dfa21848a2fcb2f0ff3fd21782031686f8bc8fa9 (
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
|
{ config, pkgs, ... }:
{ services.xserver = {
desktopManager.xterm.enable = false;
displayManager = {
slim = {
enable = true;
defaultUser = "alan";
};
sessionCommands = ''
${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr -solid '#4d4d4c' &
${pkgs.hsetroot}/bin/hsetroot -solid '#4d4d4c'
${pkgs.networkmanagerapplet}/bin/nm-applet &
'';
};
xautolock = {
enable = true;
locker = "${pkgs.i3lock-color}";
time = 5;
};
};
environment.systemPackages = with pkgs; [
dmenu
dunst
libnotify # for notify-send
rofi
sxhkd
maim
perlPackages.FileMimeInfo # xdg-utils uses this when no DE
];
}
|