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

16 lines
422 B
Nix
Raw Normal View History

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