Update system

This commit is contained in:
outfoxxed 2024-01-01 21:15:39 -08:00
parent 84b5700555
commit b222c15014
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
10 changed files with 150 additions and 209 deletions

20
modules/polkit.nix Normal file
View file

@ -0,0 +1,20 @@
{
security.polkit = {
enable = true;
};
systemd = {
user.services.polkit-agent = {
wants = [ "graphical-session.target" ];
wantedBy = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
};
}