meta(flake.nix): Add packages as outputs

This makes it possible to easily use packages from this repository in
your own separate nix-config flake. This also makes it easier to test
packages locally since `nix build .#package` can be used instead of
building the entire system derivation.
This commit is contained in:
Donovan Glover 2024-03-30 07:32:44 -04:00
parent b0a774a54d
commit c85d2d45ba
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -29,5 +29,13 @@
modules = [ ./. ];
};
};
packages."x86_64-linux" = with nixpkgs.legacyPackages."x86_64-linux"; {
aleo-fonts = callPackage ./packages/aleo-fonts.nix { };
fluent-icons = callPackage ./packages/fluent-icons.nix { };
hycov = callPackage ./packages/hycov.nix { };
osu-backgrounds = callPackage ./packages/osu-backgrounds.nix { };
webp-thumbnailer = callPackage ./packages/webp-thumbnailer.nix { };
};
};
}