There is a warning to update before deprecation. This is a fix for that. Remove a conflicting portal implementation
14 lines
300 B
Nix
14 lines
300 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
options.polkit = {
|
|
enable = lib.mkEnableOption "Enables polkit with kde handler";
|
|
};
|
|
|
|
config = lib.mkIf config.polkit.enable {
|
|
security.polkit.enable = true;
|
|
environment.systemPackages = with pkgs; [
|
|
kdePackages.polkit-kde-agent-1
|
|
];
|
|
};
|
|
}
|