reNixos/hand7s/systemd/hyprpolkitagent-service.nix
s0me1newithhand7s 2939b08891 big staging update
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2025-12-29 16:42:07 +03:00

33 lines
656 B
Nix

{
pkgs,
lib,
...
}: {
systemd = {
user = {
services = {
hyprpolkitagent = {
Unit = {
Description = "Hyprpolkitagent service.";
After = "graphical-session.target";
PartOf = "graphical-session.target";
};
Service = {
Type = "simple";
ExecStart = "${lib.getExe pkgs.hyprpolkitagent}";
Restart = "always";
RestartSec = 1;
TimeoutStopSec = 10;
};
Install = {
WantedBy = [
"graphical-session.target"
];
};
};
};
};
};
}