nixos/accountsservice: set XDG_DATA_DIRS correctly
This commit is contained in:
parent
87ef847d13
commit
773e8d07bc
@ -39,14 +39,14 @@ with lib;
|
|||||||
|
|
||||||
systemd.packages = [ pkgs.accountsservice ];
|
systemd.packages = [ pkgs.accountsservice ];
|
||||||
|
|
||||||
systemd.services.accounts-daemon = {
|
systemd.services.accounts-daemon = recursiveUpdate {
|
||||||
|
|
||||||
wantedBy = [ "graphical.target" ];
|
wantedBy = [ "graphical.target" ];
|
||||||
|
|
||||||
# Accounts daemon looks for dbus interfaces in $XDG_DATA_DIRS/accountsservice
|
# Accounts daemon looks for dbus interfaces in $XDG_DATA_DIRS/accountsservice
|
||||||
environment.XDG_DATA_DIRS = "${config.system.path}/share";
|
environment.XDG_DATA_DIRS = "${config.system.path}/share";
|
||||||
|
|
||||||
} // (optionalAttrs (!config.users.mutableUsers) {
|
} (optionalAttrs (!config.users.mutableUsers) {
|
||||||
environment.NIXOS_USERS_PURE = "true";
|
environment.NIXOS_USERS_PURE = "true";
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user