feat: make nixpkgs overlays modular

This commit is contained in:
matt1432 2024-09-22 23:16:10 -04:00
parent 0d9c6bab75
commit e2d3edae4b
2 changed files with 47 additions and 35 deletions

View file

@ -1,8 +1,23 @@
{
inputs @ {
pkgs,
self,
...
}: {
nixpkgs.overlays =
(map (i: inputs.${i}.overlays.default) [
"discord-overlay"
"grim-hyprland"
"jovian"
"nixpkgs-wayland"
])
++ (builtins.attrValues {
inherit
(self.overlays)
misc
xdg-desktop-portal-kde
;
});
environment.systemPackages =
(builtins.attrValues {
inherit