65 lines
1.6 KiB
Nix
65 lines
1.6 KiB
Nix
# This overlay provides a set of customized pkgs.
|
|
|
|
self: super:
|
|
|
|
{
|
|
iosevka-hskl = super.iosevka.override {
|
|
privateBuildPlan = {
|
|
family = "Iosevka Samae";
|
|
design = [
|
|
"ss08" # Use Pragmata Pro Style
|
|
"term" # Disable ligature/ligation
|
|
];
|
|
slants = {
|
|
upright = "normal";
|
|
italic = "italic";
|
|
oblique = "oblique";
|
|
};
|
|
};
|
|
set = "Samae";
|
|
};
|
|
|
|
wineNoGS = super.wineStaging.override { gstreamerSupport = false; };
|
|
|
|
surge-samae = super.callPackage ./surge {};
|
|
|
|
carla-samae = super.qt5.callPackage ./carla {};
|
|
|
|
vim-samae = super.callPackage ./vim {};
|
|
|
|
reaper-samae = super.callPackage ./reaper {};
|
|
|
|
mopidy-mpd-samae = super.callPackage ./mopidy-mpd {};
|
|
|
|
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 {};
|
|
|
|
# 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 "$@"
|
|
'';
|
|
}
|
|
|