blob: 79ac35fd3706c6f00c4f7cc7ebbc956cc889478f (
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
37
38
39
40
41
42
43
44
45
46
|
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
greetd.tuigreet
greetd.greetd
];
services.greetd = {
enable = true;
settings = {
default_session = {
command = "tuigreet --time --remember --cmd \"dwl -s dwlb\"";
user = "greeter";
};
};
};
services.logind.extraConfig = ''
HandlePowerKey=ignore
'';
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "tty";
StandardError = "journal";
TTYReset = true;
TTYVHangup = true;
TTYVTDisallocate = true;
};
security.polkit.enable = true;
security.pam.services.swaylock.text = ''
auth include login
'';
services.xserver.libinput.enable = true;
programs.gnupg.agent = {
enable = true;
};
programs.dconf.enable = true;
}
|