began home/scripts tidy up
This commit is contained in:
parent
00b1c4517e
commit
3662235e7e
16 changed files with 2 additions and 2 deletions
24
home/scripts/systemd/polkit.nix
Executable file
24
home/scripts/systemd/polkit.nix
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
{ ... }: {
|
||||
|
||||
systemd = {
|
||||
|
||||
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 = {
|
||||
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 1;
|
||||
TimeoutStopSec = 10;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue