Add polkit module
This commit is contained in:
21
system/modules/polkit/options.nix
Normal file
21
system/modules/polkit/options.nix
Normal 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 = [];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user