refactor(home:polkit): move options

This commit is contained in:
ooks-io 2024-06-05 23:00:38 +12:00
parent 5590c8a951
commit 3799825448
2 changed files with 18 additions and 11 deletions

View file

@ -0,0 +1,14 @@
{ 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";
};
}