libsearpc: 3.3-20230626 -> 3.3-20241031 fix build with GCC14 (#368185)
[NixPkgs.git] / nixos / modules / services / desktops / gnome / gnome-settings-daemon.nix
blob06d001ab813449daf0a274aea03e18acb2640344
1 # GNOME Settings Daemon
4   config,
5   lib,
6   pkgs,
7   ...
8 }:
10 let
12   cfg = config.services.gnome.gnome-settings-daemon;
18   meta = {
19     maintainers = lib.teams.gnome.members;
20   };
22   ###### interface
24   options = {
26     services.gnome.gnome-settings-daemon = {
28       enable = lib.mkEnableOption "GNOME Settings Daemon";
30     };
32   };
34   ###### implementation
36   config = lib.mkIf cfg.enable {
38     environment.systemPackages = [
39       pkgs.gnome-settings-daemon
40     ];
42     services.udev.packages = [
43       pkgs.gnome-settings-daemon
44     ];
46     systemd.packages = [
47       pkgs.gnome-settings-daemon
48     ];
50     systemd.user.targets."gnome-session-x11-services".wants = [
51       "org.gnome.SettingsDaemon.XSettings.service"
52     ];
54     systemd.user.targets."gnome-session-x11-services-ready".wants = [
55       "org.gnome.SettingsDaemon.XSettings.service"
56     ];
58   };