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

8 lines
140 B
Nix

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