20 lines
377 B
Nix
20 lines
377 B
Nix
{ pkgs, lib, ... }: {
|
|
security.polkit.enable = true;
|
|
systemd = {
|
|
packages = with pkgs; [
|
|
polkit-kde-agent
|
|
];
|
|
user = {
|
|
services.plasma-polkit-agent = {
|
|
serviceConfig = {
|
|
Restart = "always";
|
|
RestartSec = 2;
|
|
Slice = "session.slice";
|
|
};
|
|
environment.PATH = lib.mkForce null;
|
|
wantedBy = [ "gui-session.target" ];
|
|
};
|
|
};
|
|
};
|
|
}
|