18 lines
481 B
Nix
18 lines
481 B
Nix
{ pkgs, ... }: {
|
|
systemd.user = {
|
|
services.auth-agent = {
|
|
Unit = {
|
|
Description = "Polkit Authentication Agent";
|
|
PartOf = [ "graphical-session.target" ];
|
|
After = [ "graphical-session-pre.target" ];
|
|
};
|
|
Install = {
|
|
WantedBy = [ "graphical-session.target" ];
|
|
};
|
|
Service = {
|
|
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
|
Restart = "on-failure";
|
|
};
|
|
};
|
|
};
|
|
}
|