nix/modules/polkit/default.nix

18 lines
526 B
Nix
Raw Normal View History

2024-08-21 09:02:49 +02:00
{pkgs, ...}: {
2024-07-16 11:38:55 +02:00
systemd = {
user.services.polkit-gnome-authentication-agent-1 = {
description = "polkit-gnome-authentication-agent-1";
2024-08-21 09:02:49 +02:00
wantedBy = ["graphical-session.target"];
wants = ["graphical-session.target"];
after = ["graphical-session.target"];
2024-07-16 11:38:55 +02:00
serviceConfig = {
2024-08-21 09:02:49 +02:00
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
2024-07-16 11:38:55 +02:00
};
};
}