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:
parent
71837dd81b
commit
2e742a7f9b
1 changed files with 6 additions and 5 deletions
11
flake.nix
11
flake.nix
|
@ -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";
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue