mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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:
parent
ac14983643
commit
f9ec178d31
2 changed files with 22 additions and 0 deletions
|
|
@ -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; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue