14 lines
289 B
Nix
14 lines
289 B
Nix
{ lib, ... }:
|
|
|
|
let
|
|
inherit (lib) mkOption types;
|
|
inherit (types) nullOr enum;
|
|
in
|
|
|
|
{
|
|
options.ooknet.security.polkit = mkOption {
|
|
type = nullOr (enum ["gnome" "pantheon"]); # TODO: add kde agent
|
|
default = "gnome";
|
|
description = "Type of polkit agent module to use";
|
|
};
|
|
}
|