overlays-personal/pkgs/default.nix
2023-06-04 00:41:02 +03:00

110 lines
2.7 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
export-glyph-names = false
[buildPlans.iosevka-samae.variants]
inherits = "ss08"
[buildPlans.iosevka-samae.variants.design]
f = "tailed"
j = "serifed"
k = "curly-serifless"
y = "cursive-motion-serifed"
zero = "long-dotted"
seven = "bend-serifed-crossbar"
number-sign = "upright"
at = "compact"
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 {};
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 {};
uhe-diva = prev.callPackage ./diva {};
atlas = prev.callPackage ./atlas {};
#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 "$@"
'';
}