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

8 lines
140 B
Nix

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