feat: job context

This commit is contained in:
Guz
2025-08-24 14:27:30 -03:00
parent 58b8ed6353
commit 588dddb07d
4 changed files with 26 additions and 2 deletions

17
modules/nixos/context.nix Normal file
View 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 = {};
};
}