112 lines
2.7 KiB
Nix
112 lines
2.7 KiB
Nix
# This overlay provides a set of customized pkgs.
|
|
|
|
final: prev:
|
|
|
|
{
|
|
iosevka-hskl = prev.iosevka.override {
|
|
privateBuildPlan = ''
|
|
[buildPlans.IosevkaSamae]
|
|
family = "Iosevka Samae"
|
|
spacing = "term"
|
|
serifs = "sans"
|
|
noCvSs = true
|
|
exportGlyphNames = false
|
|
|
|
[buildPlans.IosevkaSamae.variants]
|
|
inherits = "ss08"
|
|
|
|
[buildPlans.IosevkaSamae.variants.design]
|
|
seven = "bend-serifed-crossbar"
|
|
zero = "long-dotted"
|
|
a = "single-storey-serifed"
|
|
f = "tailed"
|
|
j = "serifed"
|
|
k = "curly-serifless"
|
|
u = "toothed-motion-serifed"
|
|
y = "cursive-motion-serifed"
|
|
number-sign = "upright"
|
|
at = "compact"
|
|
lig-ltgteq = "slanted"
|
|
|
|
[buildPlans.IosevkaSamae.ligations]
|
|
inherits = "haskell"
|
|
|
|
[buildPlans.IosevkaSamae.weights.Regular]
|
|
shape = 400
|
|
menu = 400
|
|
css = 400
|
|
|
|
[buildPlans.IosevkaSamae.weights.Bold]
|
|
shape = 700
|
|
menu = 700
|
|
css = 700
|
|
|
|
[buildPlans.IosevkaSamae.slopes.Upright]
|
|
angle = 0
|
|
shape = "upright"
|
|
menu = "upright"
|
|
css = "normal"
|
|
|
|
[buildPlans.IosevkaSamae.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 "$@"
|
|
'';
|
|
}
|
|
|