about summary refs log tree commit diff stats
path: root/modules/system/polkit/default.nix
blob: fb13505b22801786b4e420a8f636251389d949d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  config,
  lib,
  ...
}: let
  cfg = config.soispha.polkit;
in {
  options.soispha.polkit = {
    enable = lib.mkEnableOption "polkit";
  };
  config = lib.mkIf cfg.enable {
    security.polkit.enable = true;
  };
}