From 26219e1eafd8384f9a130682bb6bf9656953a0f2 Mon Sep 17 00:00:00 2001 From: jahanson Date: Sun, 26 May 2024 19:38:35 -0500 Subject: [PATCH] Add top for building --- flake.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/flake.nix b/flake.nix index f45993b..9fc8c89 100644 --- a/flake.nix +++ b/flake.nix @@ -90,5 +90,14 @@ }]; }; }; + # Convenience output that aggregates the outputs for home, nixos. + # Also used in ci to build targets generally. + top = + let + nixtop = nixpkgs.lib.genAttrs + (builtins.attrNames inputs.self.nixosConfigurations) + (attr: inputs.self.nixosConfigurations.${attr}.config.system.build.toplevel); + in + nixtop; }; }