nilla: modularize

This commit is contained in:
Nikodem Rabuliński 2025-03-23 12:58:53 +01:00
parent 5b421a79d4
commit 7bcd839378
Signed by: nrabulinski
SSH key fingerprint: SHA256:eJRdE3KzMWWk9zrksGEv8+v6F+VqUVR++z2SSPyiL0I
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; });
};
}