add packages output

This commit is contained in:
Alex Griffin 2022-10-20 14:51:44 -05:00
parent cba449c071
commit cb4aab0303

View file

@ -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 = { nixosConfigurations = {
# FIXME replace with your hostname # FIXME replace with your hostname
your-hostname = nixpkgs.lib.nixosSystem { your-hostname = nixpkgs.lib.nixosSystem {