mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-03-10 12:28:38 +01:00
example: Inherit all overlays by default
Fixes an issue where the old phinger-cursors wasn't being used and should future-proof any necessary overlays for the functioning of the system.
This commit is contained in:
parent
541e7e9a71
commit
6bb9350f7a
@ -22,10 +22,8 @@ in
|
|||||||
inherit (pkgs) ruby php;
|
inherit (pkgs) ruby php;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = attrValues {
|
nixpkgs.overlays = attrValues nix-config.overlays ++ [
|
||||||
inherit (nix-config.overlays) hyprland;
|
(final: prev: {
|
||||||
|
|
||||||
exampleOverlay = final: prev: {
|
|
||||||
btop = prev.btop.overrideAttrs (oldAttrs: {
|
btop = prev.btop.overrideAttrs (oldAttrs: {
|
||||||
postInstall = (oldAttrs.postInstall or "") + /* bash */ ''
|
postInstall = (oldAttrs.postInstall or "") + /* bash */ ''
|
||||||
echo "#!/usr/bin/env sh" >> btop-overlay
|
echo "#!/usr/bin/env sh" >> btop-overlay
|
||||||
@ -34,6 +32,6 @@ in
|
|||||||
install -Dm755 btop-overlay $out/bin/btop-overlay
|
install -Dm755 btop-overlay $out/bin/btop-overlay
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
};
|
})
|
||||||
};
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user