feat: job context
This commit is contained in:
17
modules/nixos/context.nix
Normal file
17
modules/nixos/context.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{lib, ...}:
|
||||
with lib; {
|
||||
options.context = mkOption {
|
||||
type = with types; let
|
||||
primitive = oneOf [
|
||||
bool
|
||||
int
|
||||
str
|
||||
path
|
||||
(attrsOf primitive)
|
||||
(listOf primitive)
|
||||
];
|
||||
in
|
||||
attrsOf primitive;
|
||||
default = {};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user