pub-solar-os/modules/crypto/polkit-gnome-authentication-agent.service.nix

17 lines
430 B
Nix
Raw Permalink Normal View History

2021-05-30 19:10:28 +00:00
pkgs:
{
Unit = {
Description = "Legacy polkit authentication agent for GNOME";
Documentation = [ "https://gitlab.freedesktop.org/polkit/polkit/" ];
BindsTo = [ "sway-session.target" ];
After = [ "sway-session.target" ];
};
Service = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
};
Install = {
WantedBy = [ "sway-session.target" ];
};
}