1
0
Fork 0
mirror of https://git.sr.ht/~goorzhel/turboprop synced 2024-12-14 11:37:37 +00:00

Export templates outside eachDefaultSystem

This commit is contained in:
Antonio Gurgel 2023-12-05 23:30:40 -08:00
parent 71837dd81b
commit 2e742a7f9b

View file

@ -23,6 +23,12 @@
nixhelm,
nixpkgs,
}:
{
templates.default = {
path = ./templates/default;
description = "Example Turboprop flake";
};
} //
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
kubelib = nix-kube-generators.lib {inherit pkgs;};
@ -56,10 +62,5 @@
};
formatter = pkgs.alejandra;
templates.default = {
path = ./templates/default;
description = "Example Turboprop flake";
};
});
}