1

Add polkit module

This commit is contained in:
2023-05-27 14:58:56 +02:00
parent a4721b3f11
commit 373e67a25b
3 changed files with 65 additions and 1 deletions

View File

@ -0,0 +1,21 @@
{
lib,
mylib,
...
}:
with lib;
with mylib.modules; {
enable = mkEnableOpt "Polkit";
allowed-system-services = mkOption {
type = types.listOf types.str;
description = "System Services that should be manageable by a User without Root Password";
example = ''
[
"jellyfin"
"stablediffusion"
]
'';
default = [];
};
}