-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
/
Copy pathgnome-settings-daemon.nix
74 lines (51 loc) · 1.28 KB
/
gnome-settings-daemon.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# GNOME Settings Daemon
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.gnome3.gnome-settings-daemon;
in
{
imports = [
(mkRemovedOptionModule
["services" "gnome3" "gnome-settings-daemon" "package"]
"")
];
###### interface
options = {
services.gnome3.gnome-settings-daemon = {
enable = mkEnableOption "GNOME Settings Daemon";
};
};
###### implementation
config = mkIf cfg.enable {
environment.systemPackages = [
pkgs.gnome3.gnome-settings-daemon
];
services.udev.packages = [
pkgs.gnome3.gnome-settings-daemon
];
systemd.packages = [
pkgs.gnome3.gnome-settings-daemon
];
systemd.user.targets."gnome-session-initialized".wants = [
"gsd-color.target"
"gsd-datetime.target"
"gsd-keyboard.target"
"gsd-media-keys.target"
"gsd-print-notifications.target"
"gsd-rfkill.target"
"gsd-screensaver-proxy.target"
"gsd-sharing.target"
"gsd-smartcard.target"
"gsd-sound.target"
"gsd-wacom.target"
"gsd-wwan.target"
"gsd-a11y-settings.target"
"gsd-housekeeping.target"
"gsd-power.target"
];
systemd.user.targets."gnome-session-x11-services".wants = [
"gsd-xsettings.target"
];
};
}