-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinterfacing.nix
More file actions
84 lines (76 loc) · 1.85 KB
/
interfacing.nix
File metadata and controls
84 lines (76 loc) · 1.85 KB
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
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
dunst # for displaying IBus Notifications
ibus-with-plugins # for handling input modes (emojis too)
libinput
# libinput-gestures
];
i18n.inputMethod = {
enabled = "ibus";
ibus = {
engines = with pkgs.ibus-engines; [
uniemoji
];
};
};
services.xserver.autoRepeatDelay = 180;
services.xserver.autoRepeatInterval = 50;
services.xserver.libinput = {
enable = true;
touchpad = {
clickMethod = "clickfinger"; # default = buttonareas
naturalScrolling = true; # default = false
scrollMethod = "twofinger"; # default = twofinger
disableWhileTyping = false; # default = false
tapping = false; # default = true
accelProfile = "adaptive"; # default = adaptive
};
};
systemd.user.services.ibus-daemon = {
enable = true;
#after = ["graphical.target"];
wantedBy = [
"multi-user.target"
"graphical-session.target"
];
description = "IBus daemon";
script = "${pkgs.ibus-with-plugins}/bin/ibus-daemon";
serviceConfig = {
Restart = "always";
StandardOutput = "syslog";
};
};
systemd.user.services.dunst = {
enable = true;
description = "Dunst: libnotify client";
documentation = [
"man:dunst(1)"
];
partOf = [
"graphical-session.target"
];
wantedBy = [
"default.target"
];
serviceConfig = {
Type = "dbus";
BusName = "org.freedesktop.Notifications";
ExecStart = "${pkgs.dunst}/bin/dunst -print";
};
};
# systemd.user.services.redshift = {
# enable = true;
# description = "Redshift";
# documentation = [
# "man redshift"
# ];
# partOf = [
# "graphical-session.target"
# ];
# wantedBy = [
# "default.target"
# ]
# serviceConfig
# }
}