overlays-personal/pkgs/default.nix

106 lines
2.5 KiB
Nix
Raw Normal View History

2018-02-23 15:41:11 +02:00
# This overlay provides a set of customized pkgs.
2018-02-20 13:20:44 +02:00
2021-10-08 15:59:27 +03:00
final: prev:
2018-02-20 13:20:44 +02:00
{
2021-10-08 15:59:27 +03:00
iosevka-hskl = prev.iosevka.override {
2021-08-25 03:59:36 +03:00
privateBuildPlan = ''
[buildPlans.iosevka-samae]
family = "Iosevka Samae"
spacing = "term"
serifs = "sans"
no-cv-ss = false
2021-08-25 04:25:24 +03:00
[buildPlans.iosevka-samae.variants]
inherits = "ss08"
2021-08-25 03:59:36 +03:00
2021-08-25 04:25:24 +03:00
[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"
2021-08-25 03:59:36 +03:00
2021-08-25 04:25:24 +03:00
[buildPlans.iosevka-samae.ligations]
inherits = "haskell"
2021-08-25 03:59:36 +03:00
[buildPlans.iosevka-samae.weights.regular]
shape = 400
menu = 400
css = 400
[buildPlans.iosevka-samae.weights.bold]
shape = 700
menu = 700
css = 700
2021-08-25 04:30:15 +03:00
[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"
2021-08-25 03:59:36 +03:00
'';
2021-08-25 04:27:02 +03:00
set = "samae";
2019-09-25 11:10:54 +03:00
};
2021-08-25 04:28:36 +03:00
2021-10-08 15:59:27 +03:00
wineNoGS = prev.wineStaging.override { gstreamerSupport = false; };
2019-07-18 22:07:39 +03:00
2021-10-08 15:59:27 +03:00
surge-samae = prev.callPackage ./surge {};
2020-02-09 11:26:45 +02:00
2021-10-08 15:59:27 +03:00
carla-samae = prev.qt5.callPackage ./carla {};
2020-02-09 17:51:30 +02:00
2021-10-08 15:59:27 +03:00
vim-samae = prev.callPackage ./vim {};
2018-02-20 13:20:44 +02:00
2021-10-08 15:59:27 +03:00
patchmatrix-samae = prev.callPackage ./patchmatrix {};
2021-02-23 12:53:25 +02:00
2021-10-08 15:59:27 +03:00
reaper-samae = prev.callPackage ./reaper {};
2019-05-14 21:54:45 +03:00
2021-10-08 15:59:27 +03:00
mopidy-mpd-samae = prev.callPackage ./mopidy-mpd {};
2020-02-24 14:36:11 +02:00
2021-10-08 15:59:27 +03:00
vcv-rack-samae = prev.callPackage ./vcv-rack {};
2021-01-01 11:39:15 +02:00
2021-10-08 15:59:27 +03:00
scientifica-font = prev.callPackage ./scientifica-font {};
curie-font = prev.callPackage ./curie-font {};
victor-mono = prev.callPackage ./victor-mono {};
2018-04-20 21:26:44 +03:00
2021-10-08 15:59:27 +03:00
ripmime = prev.ripmime.override {
stdenv = prev.overrideCC prev.stdenv prev.gcc6;
2018-02-23 15:41:11 +02:00
};
2019-04-30 18:02:06 +03:00
2021-10-08 15:59:27 +03:00
squeezer = prev.callPackage ./squeezer {};
2020-07-25 16:10:46 +03:00
2021-10-08 15:59:27 +03:00
decentsampler = prev.callPackage ./decentsampler {};
2021-07-29 23:59:09 +03:00
2018-06-01 10:21:56 +03:00
# Originally from Mats Rauhala ®2018
2021-10-08 15:59:27 +03:00
copy = prev.writeScriptBin "copy" ''
2018-06-01 10:21:56 +03:00
function clean() {
sleep 10
2021-10-08 15:59:27 +03:00
${prev.libnotify}/bin/notify-send -u low 'Clipboard cleaned'
${prev.xclip}/bin/xclip -sel clipboard -i /dev/null
2018-06-01 10:21:56 +03:00
}
2021-10-08 15:59:27 +03:00
${prev.xclip}/bin/xclip -sel clipboard < /dev/stdin
${prev.libnotify}/bin/notify-send -u low -t 10000 'Clipboard set'
2018-06-01 10:21:56 +03:00
clean &
'';
2020-08-05 19:47:17 +03:00
2021-10-08 15:59:27 +03:00
myAt = prev.writeScriptBin "at" ''
2020-08-05 19:47:17 +03:00
echo "Running cmd in $(( $(date -d "$1" +%s) - $(date +%s) )) seconds"
sleep $(( $(date -d "$1" +%s) - $(date +%s) ))
shift 1
eval "$@"
'';
2018-02-20 13:20:44 +02:00
}