From cb4aab0303c112acf4bc81988daa98b51834fc3d Mon Sep 17 00:00:00 2001 From: Alex Griffin Date: Thu, 20 Oct 2022 14:51:44 -0500 Subject: [PATCH] add packages output --- standard/flake.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/standard/flake.nix b/standard/flake.nix index 4acdfa2..f580a97 100644 --- a/standard/flake.nix +++ b/standard/flake.nix @@ -63,6 +63,14 @@ } ); + # Export your custom packages + # These will be listed in 'nix flake show' + packages = forAllSystems (system: + import ./pkgs { + pkgs = nixpkgs.legacyPackages.${system}; + } + ); + nixosConfigurations = { # FIXME replace with your hostname your-hostname = nixpkgs.lib.nixosSystem {