about summary refs log blame commit diff stats
path: root/modules/by-name/po/polkit/module.nix
blob: fb13505b22801786b4e420a8f636251389d949d7 (plain) (tree)
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;
  };
}