5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
56 lines
887 B
Nix
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"
|
|
];
|
|
|
|
};
|
|
|
|
}
|