meta(flake.nix): Add overlays as outputs

Should make it easier for other repositories to use the overlays from
this repository.
This commit is contained in:
Donovan Glover 2024-03-31 06:19:16 -04:00
parent efec942be0
commit 18acfd0749
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
6 changed files with 69 additions and 78 deletions

View File

@ -37,5 +37,12 @@
osu-backgrounds = callPackage ./packages/osu-backgrounds.nix { }; osu-backgrounds = callPackage ./packages/osu-backgrounds.nix { };
webp-thumbnailer = callPackage ./packages/webp-thumbnailer.nix { }; webp-thumbnailer = callPackage ./packages/webp-thumbnailer.nix { };
}; };
overlays = {
base16-schemes = import ./overlays/base16-schemes.nix;
kitty = import ./overlays/kitty.nix;
srb2 = import ./overlays/srb2.nix;
zola = import ./overlays/zola.nix;
};
}; };
} }

View File

@ -1,5 +1,3 @@
{
nixpkgs.overlays = [
(final: prev: { (final: prev: {
base16-schemes = prev.base16-schemes.overrideAttrs (oldAttrs: { base16-schemes = prev.base16-schemes.overrideAttrs (oldAttrs: {
version = "unstable-2023-05-02"; version = "unstable-2023-05-02";
@ -21,5 +19,3 @@
''; '';
}); });
}) })
];
}

View File

@ -1,8 +1,8 @@
{ {
imports = [ nixpkgs.overlays = [
./base16-schemes.nix (import ./base16-schemes.nix)
./kitty.nix (import ./kitty.nix)
./srb2.nix (import ./srb2.nix)
./zola.nix (import ./zola.nix)
]; ];
} }

View File

@ -1,5 +1,3 @@
{
nixpkgs.overlays = [
(final: prev: { (final: prev: {
kitty = prev.kitty.overrideAttrs (oldAttrs: rec { kitty = prev.kitty.overrideAttrs (oldAttrs: rec {
version = "0.31.0"; version = "0.31.0";
@ -22,5 +20,3 @@
]; ];
}); });
}) })
];
}

View File

@ -1,5 +1,3 @@
{
nixpkgs.overlays = [
(final: prev: { (final: prev: {
srb2 = prev.srb2.overrideAttrs (oldAttrs: { srb2 = prev.srb2.overrideAttrs (oldAttrs: {
desktopItems = [ desktopItems = [
@ -16,5 +14,3 @@
]; ];
}); });
}) })
];
}

View File

@ -1,9 +1,5 @@
{
nixpkgs.overlays = [
(final: prev: { (final: prev: {
zola = prev.zola.overrideAttrs (oldAttrs: { zola = prev.zola.overrideAttrs (oldAttrs: {
patches = (oldAttrs.patches or [ ]) ++ [ ../patches/zola-serve-fix.patch ]; patches = (oldAttrs.patches or [ ]) ++ [ ../patches/zola-serve-fix.patch ];
}); });
}) })
];
}