treefmt: migrate to nilla

This commit is contained in:
Nikodem Rabuliński 2025-03-23 20:58:02 +01:00
parent 8bfc855160
commit 6081f4c79d
Signed by: nrabulinski
SSH key fingerprint: SHA256:AZZVyfKStaCo8sbJB+3Rr/CRrlym1oEgw7vMnynJeR8
4 changed files with 33 additions and 31 deletions

View file

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