nixos/pantheon: Start io.elementary.settings-daemon

To test this, change your wallpaper and see if the change is reflected in
greeter as well (the daemon syncs the wallpaper to /var/lib/AccountsService/users/$USER).
This commit is contained in:
Bobby Rong 2026-01-14 23:39:13 +08:00
commit f9ec178d31
No known key found for this signature in database
2 changed files with 22 additions and 0 deletions

View file

@ -208,6 +208,22 @@ in
"org.gnome.SettingsDaemon.XSettings.service"
];
# https://github.com/elementary/settings-daemon/issues/217
systemd.user.services.elementary-settings-daemon = {
description = "elementary Settings Daemon";
wantedBy = [ "gnome-session-initialized.target" ];
after = [ "gnome-session-initialized.target" ];
# The daemon might launch external applications via g_app_info_launch.
environment.PATH = lib.mkForce null;
serviceConfig = {
Slice = "session.slice";
ExecStart = "${pkgs.pantheon.elementary-settings-daemon}/bin/io.elementary.settings-daemon";
Restart = "on-failure";
};
};
# Global environment
environment.systemPackages =
(with pkgs.pantheon; [