nix-dotfiles/nixosModules/services/polkit/service.nix
Julia Lange 57a1d1f5b9
Polkit,Hypr, update kde-packages to qt6, remove portal
There is a warning to update before deprecation. This is a fix for that.
Remove a conflicting portal implementation
2025-03-17 18:48:26 -07:00

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
];
};
}