2019-12-04 21:08:37 +01:00
|
|
|
# This overlay is used for overriding upstream packages.
|
2023-03-21 13:38:22 +01:00
|
|
|
self: super: let
|
2022-06-25 16:03:40 +02:00
|
|
|
sources = import ../../nix/sources.nix;
|
|
|
|
|
2023-03-21 13:38:22 +01:00
|
|
|
nixpkgs-master = import <nixpkgs-master> {inherit (super) config;};
|
2022-10-31 11:04:38 +01:00
|
|
|
nixpkgs-unstable =
|
2023-03-21 13:38:22 +01:00
|
|
|
import <channels-nixos-unstable> {inherit (super) config;};
|
|
|
|
in {
|
2019-12-04 21:08:37 +01:00
|
|
|
inherit nixpkgs-master;
|
2021-08-31 12:37:14 +02:00
|
|
|
inherit nixpkgs-unstable;
|
2019-12-04 21:08:37 +01:00
|
|
|
|
|
|
|
# alacritty = nixpkgs-master.alacritty;
|
|
|
|
alacritty = super.stdenv.mkDerivation {
|
|
|
|
name = "alacritty-custom";
|
2023-03-21 13:38:22 +01:00
|
|
|
buildInputs = [super.makeWrapper];
|
2019-12-04 21:08:37 +01:00
|
|
|
phases = "installPhase";
|
|
|
|
installPhase = ''
|
2022-05-05 13:56:26 +02:00
|
|
|
makeWrapper ${super.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
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2022-10-31 11:04:38 +01:00
|
|
|
qtile = super.qtile.overrideAttrs (oldAttrs: {
|
2023-02-07 18:24:28 +01:00
|
|
|
propagatedBuildInputs =
|
|
|
|
oldAttrs.passthru.unwrapped.propagatedBuildInputs
|
|
|
|
++ (with self.python3Packages; [
|
|
|
|
# python-wifi
|
|
|
|
# iwlib
|
|
|
|
keyring
|
|
|
|
]);
|
2021-08-31 12:37:14 +02:00
|
|
|
});
|
|
|
|
|
2022-08-13 17:25:40 +02:00
|
|
|
# logseq = nixpkgs-staging-steveej.logseq;
|
2019-12-04 21:08:37 +01:00
|
|
|
}
|