2020-04-24 23:36:52 +00:00
|
|
|
# GNOME Settings Daemon
|
|
|
|
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
cfg = config.services.gnome.gnome-settings-daemon;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
meta = {
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = lib.teams.gnome.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
###### interface
|
|
|
|
|
|
|
|
options = {
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
services.gnome.gnome-settings-daemon = {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
enable = lib.mkEnableOption "GNOME Settings Daemon";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
config = lib.mkIf cfg.enable {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
environment.systemPackages = [
|
2021-05-20 23:08:51 +00:00
|
|
|
pkgs.gnome.gnome-settings-daemon
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
services.udev.packages = [
|
2021-05-20 23:08:51 +00:00
|
|
|
pkgs.gnome.gnome-settings-daemon
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
systemd.packages = [
|
2021-05-20 23:08:51 +00:00
|
|
|
pkgs.gnome.gnome-settings-daemon
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
systemd.user.targets."gnome-session-x11-services".wants = [
|
|
|
|
"org.gnome.SettingsDaemon.XSettings.service"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
systemd.user.targets."gnome-session-x11-services-ready".wants = [
|
|
|
|
"org.gnome.SettingsDaemon.XSettings.service"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|