2024-04-26 22:43:37 +05:30
|
|
|
{ pkgs, ... }: {
|
2024-04-26 22:35:56 +05:30
|
|
|
systemd.user = {
|
|
|
|
services.auth-agent = {
|
|
|
|
Unit = {
|
2024-04-26 22:43:37 +05:30
|
|
|
Description = "Polkit Authentication Agent";
|
2024-04-26 22:35:56 +05:30
|
|
|
PartOf = [ "graphical-session.target" ];
|
|
|
|
After = [ "graphical-session-pre.target" ];
|
|
|
|
};
|
|
|
|
Install = {
|
|
|
|
WantedBy = [ "graphical-session.target" ];
|
|
|
|
};
|
|
|
|
Service = {
|
2024-04-26 22:43:37 +05:30
|
|
|
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
2024-04-26 22:35:56 +05:30
|
|
|
Restart = "on-failure";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|