config/modules/autopatch/default.nix

51 lines
1.4 KiB
Nix
Raw Normal View History

2022-02-05 21:42:36 +02:00
{ pkgs, lib, config, ... }:
{
nixpkgs.overlays = [
(self: super:
(let
patched = import ../../packages/patched-derivations.nix super;
in {
inherit (patched)
ddcci-driver-with-global-control
2022-08-02 21:24:38 +03:00
ipfs
2022-02-05 21:42:36 +02:00
nerdfonts-terminus
terminus_font_fancy
webkitgtk
2022-08-29 23:25:07 +03:00
libfprint
fprintd
2022-02-05 21:42:36 +02:00
;
doas = patched.doas-interactive;
hydra-unstable = patched.hydra;
nix-direnv = super.nix-direnv.override {
nix = config.nix.package;
};
} // lib.optionalAttrs config.services.xserver.desktopManager.gnome.enable {
ungoogled-chromium = super.ungoogled-chromium.override {
commandLineArgs = "--enable-features=OverlayScrollbar,OverlayScrollbarFlashAfterAnyScrollUpdate,OverlayScrollbarFlashWhenMouseEnter --auth-server-whitelist=*privatevoid.net";
};
gnome = super.gnome.overrideScope' (self': super': {
inherit (patched) nautilus;
2022-02-05 21:42:36 +02:00
gnome-control-center = patched.gnome-control-center.override { inherit (self') gnome-user-share; };
gnome-shell = super'.gnome-shell.overrideAttrs (old: {
preFixup = old.preFixup + ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
)
'';
});
2022-02-05 21:42:36 +02:00
});
tilix = patched.tilix-high-refresh-rate;
}))
];
}