overlays-personal/pkgs/default.nix
2020-02-24 14:36:11 +02:00

59 lines
1.5 KiB
Nix

# This overlay provides a set of customized pkgs.
self: super:
#let
# mopidyTree = import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/d68db15912f6ff0f0082ed3825efae5098c77905.tar.gz) {};
#in
{
iosevka-hskl = super.iosevka.override {
privateBuildPlan = {
family = "Iosevka Samae";
design = [
"ss08" # Use Pragmata Pro Style
"term" # Disable ligature/ligation
];
slants = {
upright = "normal";
italic = "italic";
oblique = "oblique";
};
};
set = "Samae";
};
wineNoGS = super.wineStaging.override { gstreamerSupport = false; };
surge-samae = super.callPackage ./surge {};
carla-samae = super.qt5.callPackage ./carla {};
vim-samae = super.callPackage ./vim {};
reaper-samae = super.callPackage ./reaper {};
mopidy-mpd-samae = super.callPackage ./mopidy-mpd {};
scientifica-font = super.callPackage ./scientifica-font {};
curie-font = super.callPackage ./curie-font {};
victor-mono = super.callPackage ./victor-mono {};
ripmime = super.ripmime.override {
stdenv = super.overrideCC super.stdenv super.gcc6;
};
# Originally from Mats Rauhala ®2018
copy = super.writeScriptBin "copy" ''
function clean() {
sleep 10
${super.libnotify}/bin/notify-send -u low 'Clipboard cleaned'
${super.xclip}/bin/xclip -sel clipboard -i /dev/null
}
${super.xclip}/bin/xclip -sel clipboard < /dev/stdin
${super.libnotify}/bin/notify-send -u low -t 10000 'Clipboard set'
clean &
'';
}