10 lines
285 B
Nix
10 lines
285 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";
|
|
};
|
|
}
|