depot/third_party/nixpkgs/nixos/modules/services/desktops/gnome/gnome-settings-daemon.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

56 lines
887 B
Nix

# GNOME Settings Daemon
{ config, lib, pkgs, ... }:
let
cfg = config.services.gnome.gnome-settings-daemon;
in
{
meta = {
maintainers = lib.teams.gnome.members;
};
###### interface
options = {
services.gnome.gnome-settings-daemon = {
enable = lib.mkEnableOption "GNOME Settings Daemon";
};
};
###### implementation
config = lib.mkIf cfg.enable {
environment.systemPackages = [
pkgs.gnome.gnome-settings-daemon
];
services.udev.packages = [
pkgs.gnome.gnome-settings-daemon
];
systemd.packages = [
pkgs.gnome.gnome-settings-daemon
];
systemd.user.targets."gnome-session-x11-services".wants = [
"org.gnome.SettingsDaemon.XSettings.service"
];
systemd.user.targets."gnome-session-x11-services-ready".wants = [
"org.gnome.SettingsDaemon.XSettings.service"
];
};
}