mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-03-10 04:18:31 +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;
|
||||
};
|
||||
|
||||
nixpkgs.overlays = attrValues {
|
||||
inherit (nix-config.overlays) hyprland;
|
||||
|
||||
exampleOverlay = final: prev: {
|
||||
nixpkgs.overlays = attrValues nix-config.overlays ++ [
|
||||
(final: prev: {
|
||||
btop = prev.btop.overrideAttrs (oldAttrs: {
|
||||
postInstall = (oldAttrs.postInstall or "") + /* bash */ ''
|
||||
echo "#!/usr/bin/env sh" >> btop-overlay
|
||||
@ -34,6 +32,6 @@ in
|
||||
install -Dm755 btop-overlay $out/bin/btop-overlay
|
||||
'';
|
||||
});
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user