NixOS-Config/modules/system/settings/security/polkit/default.nix

8 lines
135 B
Nix

{ config, lib, ... }:
{
security = lib.mkIf config.system.desktop.enable {
polkit.enable = true;
rtkit.enable = true;
};
}