2019-12-04 21:08:37 +01:00
|
|
|
# This overlay is used for overriding upstream packages.
|
|
|
|
|
|
|
|
self: super:
|
|
|
|
|
|
|
|
let
|
|
|
|
nixpkgs-master = import <nixpkgs-master> { inherit (super) config; };
|
|
|
|
|
|
|
|
in {
|
|
|
|
inherit nixpkgs-master;
|
|
|
|
|
|
|
|
# alacritty = nixpkgs-master.alacritty;
|
|
|
|
alacritty = super.stdenv.mkDerivation {
|
|
|
|
name = "alacritty-custom";
|
|
|
|
buildInputs = [ super.makeWrapper ];
|
|
|
|
phases = "installPhase";
|
|
|
|
installPhase = ''
|
|
|
|
makeWrapper ${self.nixpkgs-master.alacritty}/bin/alacritty $out/bin/alacritty \
|
2020-07-28 15:26:42 +02:00
|
|
|
--set-default WINIT_X11_SCALE_FACTOR 1.4
|
2019-12-04 21:08:37 +01:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
roxterm = super.stdenv.mkDerivation {
|
|
|
|
name = "roxterm-custom";
|
|
|
|
buildInputs = [ super.makeWrapper ];
|
|
|
|
phases = "installPhase";
|
|
|
|
installPhase = ''
|
|
|
|
makeWrapper ${super.roxterm}/bin/roxterm $out/bin/roxterm \
|
|
|
|
--add-flags "--separate"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
# TODO: facetimehd is currfently broken (https://github.com/NixOS/nixpkgs/pull/72804)
|
|
|
|
facetimehd-firmware = super.hello;
|
|
|
|
|
2020-08-25 20:00:39 +02:00
|
|
|
qtile = self.nixpkgs-master.qtile.overrideAttrs(oldAttrs: {
|
|
|
|
pythonPath = oldAttrs.pythonPath ++ (with self.python37Packages; [
|
|
|
|
psutil
|
|
|
|
dbus-python
|
|
|
|
pyxdg
|
|
|
|
mpd2
|
|
|
|
# python-wifi
|
|
|
|
# iwlib
|
|
|
|
dateutil
|
|
|
|
keyring
|
|
|
|
]);
|
|
|
|
});
|
2019-12-04 21:08:37 +01:00
|
|
|
}
|