overlays-personal/pkgs/default.nix

53 lines
1.4 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; };
vim-samae = super.callPackage ./vim {};
reaper-samae = super.callPackage ./reaper {};
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 &
'';
}