overlays-personal/pkgs/default.nix

107 lines
2.6 KiB
Nix

# This overlay provides a set of customized pkgs.
final: prev:
{
iosevka-hskl = prev.iosevka.override {
privateBuildPlan = ''
[buildPlans.iosevka-samae]
family = "Iosevka Samae"
spacing = "term"
serifs = "sans"
no-cv-ss = false
[buildPlans.iosevka-samae.variants]
inherits = "ss08"
[buildPlans.iosevka-samae.variants.design]
f = "tailed"
j = "serifed"
k = "curly-serifless"
y = "cursive"
zero = "long-dotted"
seven = "bend-crossbar-serifed"
number-sign = "upright"
at = "short"
lig-ltgteq = "slanted"
[buildPlans.iosevka-samae.ligations]
inherits = "haskell"
[buildPlans.iosevka-samae.weights.regular]
shape = 400
menu = 400
css = 400
[buildPlans.iosevka-samae.weights.bold]
shape = 700
menu = 700
css = 700
[buildPlans.iosevka-samae.slopes.upright]
angle = 0
shape = "upright"
menu = "upright"
css = "normal"
[buildPlans.iosevka-samae.slopes.italic]
angle = 9.4
shape = "italic"
menu = "italic"
css = "italic"
'';
set = "samae";
};
wineNoGS = prev.wineStaging.override { gstreamerSupport = false; };
surge-samae = prev.callPackage ./surge {};
carla-samae = prev.qt5.callPackage ./carla {};
vim-samae = prev.callPackage ./vim {};
patchmatrix-samae = prev.callPackage ./patchmatrix {};
reaper-samae = prev.callPackage ./reaper {};
mopidy-mpd-samae = prev.callPackage ./mopidy-mpd {};
vcv-rack-samae = prev.callPackage ./vcv-rack {};
scientifica-font = prev.callPackage ./scientifica-font {};
curie-font = prev.callPackage ./curie-font {};
victor-mono = prev.callPackage ./victor-mono {};
ripmime = prev.ripmime.override {
stdenv = prev.overrideCC prev.stdenv prev.gcc6;
};
squeezer = prev.callPackage ./squeezer {};
decentsampler = prev.callPackage ./decentsampler {};
#cardinal = prev.callPackage ./cardinal {};
# Originally from Mats Rauhala ®2018
copy = prev.writeScriptBin "copy" ''
function clean() {
sleep 10
${prev.libnotify}/bin/notify-send -u low 'Clipboard cleaned'
${prev.xclip}/bin/xclip -sel clipboard -i /dev/null
}
${prev.xclip}/bin/xclip -sel clipboard < /dev/stdin
${prev.libnotify}/bin/notify-send -u low -t 10000 'Clipboard set'
clean &
'';
myAt = prev.writeScriptBin "at" ''
echo "Running cmd in $(( $(date -d "$1" +%s) - $(date +%s) )) seconds"
sleep $(( $(date -d "$1" +%s) - $(date +%s) ))
shift 1
eval "$@"
'';
}