feat(topology): add legacyPackages package for convenience

Can now also build with (1) instead of just (2)
- `nix build .#topology`
(from `legacyPackages`, hidden in `nix flake show`)
- `nix build .#topology.${system}.config.output`
(raw flake output)
This commit is contained in:
reo101 2024-07-27 13:39:33 +03:00
parent c9b5210325
commit f90ac47d91
Signed by: reo101
GPG key ID: 675AA7EF13964ACB

View file

@ -50,6 +50,12 @@
};
};
in {
# NOTE: hide from `nix flake show`
# requires `allow-import-from-derivation`
legacyPackages = {
topology = self.topology.${system}.config.output;
};
topology = {
# nixosConfigurations = {
# inherit (self.nixosConfigurations)