nilla: modularize

This commit is contained in:
Nikodem Rabuliński 2025-03-23 12:58:53 +01:00
parent b3e334def9
commit ca5e902727
Signed by: nrabulinski
SSH key fingerprint: SHA256:AZZVyfKStaCo8sbJB+3Rr/CRrlym1oEgw7vMnynJeR8
5 changed files with 50 additions and 32 deletions

View file

@ -0,0 +1,13 @@
{ lib }:
{
config.builders.custom-load = {
settings.type = lib.types.submodule {
options.args = lib.options.create {
type = lib.types.null;
default.value = null;
};
};
settings.default = { };
build = pkg: lib.attrs.generate pkg.systems (system: pkg.package { inherit system; });
};
}