diff options
author | Emile <git@emile.space> | 2025-02-13 21:55:50 +0100 |
---|---|---|
committer | Emile <git@emile.space> | 2025-02-13 21:56:24 +0100 |
commit | 6921c52db6b56cf53f2ed32ab6234d757bc01185 (patch) | |
tree | 1e3effc4859f168702bb7131b4d99987f7b34c91 | |
parent | 2da8893d554ea05272fc8ea49f85c0c248f2c910 (diff) |
flake: hydraJobs.templates: manually creating self attr set
-rw-r--r-- | flake.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix index 6152763..ec97955 100644 --- a/flake.nix +++ b/flake.nix @@ -226,12 +226,12 @@ (import ./nix/templates/${name}/flake.nix).outputs) { inherit nixpkgs flake-utils; # Self needs to be the imported flake, as some packages in some templates rely on each other, such as the goapp/backend-docker package which relies on the goapp/backend-pkg. Cross-template references are not supported (yet); - self = (import ./nix/templates/${name}/flake.nix); + self = { packages = (import ./nix/templates/${name}/flake.nix).packages }; }).packages or {}) templ); in { inherit (self) packages; - nixosConfigurations = helper.buildHosts self.nixosConfigurations; + # nixosConfigurations = helper.buildHosts self.nixosConfigurations; templates = template-packages self.templates; }; |