Polkit: Difference between revisions
imported>Coreyoconnor update to newer unit options unitConfig and serviceConfig |
imported>Skallito m Fix syntax for the service. |
||
Line 18: | Line 18: | ||
systemd = { | systemd = { | ||
user.services.polkit-gnome-authentication-agent-1 = { | user.services.polkit-gnome-authentication-agent-1 = { | ||
description = "polkit-gnome-authentication-agent-1"; | |||
wantedBy = [ "graphical-session.target" ]; | |||
wants = [ "graphical-session.target" ]; | |||
after = [ "graphical-session.target" ]; | |||
serviceConfig = { | serviceConfig = { | ||
Type = "simple"; | |||
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; | ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; | ||
Restart = "on-failure"; | Restart = "on-failure"; |