overlays-personal/pkgs/default.nix
2021-08-25 03:59:36 +03:00

105 lines
2.5 KiB
Nix

# This overlay provides a set of customized pkgs.
self: super:
{
iosevka-hskl = super.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
'';
set = "Samae";
};
#{
# family = "Iosevka Samae";
# design = [
# "ss08" # Use Pragmata Pro Style
# "term" # Disable ligature/ligation
# ];
# slants = {
# upright = "normal";
# italic = "italic";
# oblique = "oblique";
# };
#}
wineNoGS = super.wineStaging.override { gstreamerSupport = false; };
surge-samae = super.callPackage ./surge {};
carla-samae = super.qt5.callPackage ./carla {};
vim-samae = super.callPackage ./vim {};
patchmatrix-samae = super.callPackage ./patchmatrix {};
reaper-samae = super.callPackage ./reaper {};
mopidy-mpd-samae = super.callPackage ./mopidy-mpd {};
vcv-rack-samae = super.callPackage ./vcv-rack {};
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;
};
squeezer = super.callPackage ./squeezer {};
decentsampler = super.callPackage ./decentsampler {};
# 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 &
'';
myAt = super.writeScriptBin "at" ''
echo "Running cmd in $(( $(date -d "$1" +%s) - $(date +%s) )) seconds"
sleep $(( $(date -d "$1" +%s) - $(date +%s) ))
shift 1
eval "$@"
'';
}