vuls: init at 0.27.0
[NixPkgs.git] / nixos / modules / services / desktops / gnome / gnome-settings-daemon.nix
blob21e7c3b587134d8427675aace3ce3ed17604f211
1 # GNOME Settings Daemon
3 { config, lib, pkgs, ... }:
5 let
7   cfg = config.services.gnome.gnome-settings-daemon;
9 in
13   meta = {
14     maintainers = lib.teams.gnome.members;
15   };
17   ###### interface
19   options = {
21     services.gnome.gnome-settings-daemon = {
23       enable = lib.mkEnableOption "GNOME Settings Daemon";
25     };
27   };
30   ###### implementation
32   config = lib.mkIf cfg.enable {
34     environment.systemPackages = [
35       pkgs.gnome-settings-daemon
36     ];
38     services.udev.packages = [
39       pkgs.gnome-settings-daemon
40     ];
42     systemd.packages = [
43       pkgs.gnome-settings-daemon
44     ];
46     systemd.user.targets."gnome-session-x11-services".wants = [
47       "org.gnome.SettingsDaemon.XSettings.service"
48     ];
50     systemd.user.targets."gnome-session-x11-services-ready".wants = [
51       "org.gnome.SettingsDaemon.XSettings.service"
52     ];
54   };