flake/nixos/packages/overlays/nautilus.nix
2023-09-19 08:17:43 +08:00

24 lines
No EOL
668 B
Nix

{ ... }:
{
nixpkgs = {
overlays = [
(final: prev:
{
gnome = prev.gnome // {
# Restore Nautilus's typeahead ability
# .patch file from from aur/nautilus-typeahead
nautilus = prev.gnome.nautilus.overrideAttrs (old: {
patches = (old.patches or []) ++ [
(prev.fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/nautilus-restore-typeahead.patch?h=nautilus-typeahead";
hash = "sha256-dtMm5FRvwHF9SBibCgl/+8AlesthZtpE4DHzLbM8XSY=";
})
];
});
};
}
)
];
};
}