overlays-personal/pkgs/default.nix
2018-11-20 11:26:27 +02:00

58 lines
1.5 KiB
Nix

# This overlay provides a set of customized pkgs.
self: super:
{
qutebrowserWE = super.qutebrowser.override { withWebEngineDefault = true; };
iosevka-hskl = let
tags = [
"ss08" # Use Pragmata Pro Style
"term" # Disable ligature/ligation
];
in
super.iosevka.override {
nodejs = super.nodejs-8_x;
design = tags;
set = "PPStyle";
};
vim-samae = super.callPackage ./vim {};
# Bug fixes:
kitty07 = super.callPackage ./kitty {};
scientifica-font = super.callPackage ./scientifica-font {};
curie-font = super.callPackage ./curie-font {};
ripmime = super.ripmime.override {
stdenv = super.overrideCC super.stdenv super.gcc6;
};
spotify = super.spotify.overrideDerivation (
old: {
src = super.fetchurl {
url = "https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.77.338.g758ebd78-41_amd64.deb";
sha256 = "1971jc0431pl8yixpl37ryl2l0pqdf0xjvkg59nqdwj3vbdx5606";
};
});
# Probably not needed anymore
#nixops = super.nixops.overrideDerivation (
#old: {
# patchPhase = ''
# substituteInPlace nix/eval-machine-info.nix \
# --replace 'system.nixosVersion' 'system.nixos.version'
# '';
#});
# Originally from Mats Rauhala ®2018
copy = super.writeScriptBin "copy" ''
function clean() {
sleep 10
echo cleaning
${super.xclip}/bin/xclip -sel clipboard -i /dev/null
}
${super.xclip}/bin/xclip -sel clipboard < /dev/stdin
clean &
'';
}