System: Rename system/modules to system/systemmodules
This commit is contained in:
32
system/systemmodules/polkit/options.nix
Normal file
32
system/systemmodules/polkit/options.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
mylib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with mylib.modules; {
|
||||
enable = mkEnableOption "Polkit";
|
||||
|
||||
allowedActions = mkOption {
|
||||
type = types.listOf types.str;
|
||||
description = "Actions that should be manageable by a User without Root Password";
|
||||
example = ''
|
||||
[
|
||||
"org.freedesktop.NetworkManager.settings.modify.system"
|
||||
]
|
||||
'';
|
||||
default = [];
|
||||
};
|
||||
|
||||
allowedSystemServices = 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