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:
parent
c9b5210325
commit
f90ac47d91
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue