Merge branch 'master' of git.marvid.fr:mpo/overlays-personal

This commit is contained in:
EEva 2021-11-04 08:57:24 +02:00
commit 95d8c76dde
3 changed files with 57 additions and 23 deletions

25
flake.lock Normal file
View file

@ -0,0 +1,25 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1633702113,
"narHash": "sha256-AGllJLIJ5lE9Ra0eJ1KtM82+cb8wmSoP2dpMvHGJTb0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "dacaba9b9a886bad92d25ba1d87a84a65cc1298b",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

9
flake.nix Normal file
View file

@ -0,0 +1,9 @@
{
description = "My overlays";
outputs = { self, nixpkgs }: {
overlay = import ./pkgs;
};
}

View file

@ -1,9 +1,9 @@
# This overlay provides a set of customized pkgs.
self: super:
final: prev:
{
iosevka-hskl = super.iosevka.override {
iosevka-hskl = prev.iosevka.override {
privateBuildPlan = ''
[buildPlans.iosevka-samae]
family = "Iosevka Samae"
@ -53,49 +53,49 @@ self: super:
set = "samae";
};
wineNoGS = super.wineStaging.override { gstreamerSupport = false; };
wineNoGS = prev.wineStaging.override { gstreamerSupport = false; };
surge-samae = super.callPackage ./surge {};
surge-samae = prev.callPackage ./surge {};
carla-samae = super.qt5.callPackage ./carla {};
carla-samae = prev.qt5.callPackage ./carla {};
vim-samae = super.callPackage ./vim {};
vim-samae = prev.callPackage ./vim {};
patchmatrix-samae = super.callPackage ./patchmatrix {};
patchmatrix-samae = prev.callPackage ./patchmatrix {};
reaper-samae = super.callPackage ./reaper {};
reaper-samae = prev.callPackage ./reaper {};
mopidy-mpd-samae = super.callPackage ./mopidy-mpd {};
mopidy-mpd-samae = prev.callPackage ./mopidy-mpd {};
vcv-rack-samae = super.callPackage ./vcv-rack {};
vcv-rack-samae = prev.callPackage ./vcv-rack {};
scientifica-font = super.callPackage ./scientifica-font {};
curie-font = super.callPackage ./curie-font {};
victor-mono = super.callPackage ./victor-mono {};
scientifica-font = prev.callPackage ./scientifica-font {};
curie-font = prev.callPackage ./curie-font {};
victor-mono = prev.callPackage ./victor-mono {};
ripmime = super.ripmime.override {
stdenv = super.overrideCC super.stdenv super.gcc6;
ripmime = prev.ripmime.override {
stdenv = prev.overrideCC prev.stdenv prev.gcc6;
};
squeezer = super.callPackage ./squeezer {};
squeezer = prev.callPackage ./squeezer {};
decentsampler = super.callPackage ./decentsampler {};
decentsampler = prev.callPackage ./decentsampler {};
# Originally from Mats Rauhala ®2018
copy = super.writeScriptBin "copy" ''
copy = prev.writeScriptBin "copy" ''
function clean() {
sleep 10
${super.libnotify}/bin/notify-send -u low 'Clipboard cleaned'
${super.xclip}/bin/xclip -sel clipboard -i /dev/null
${prev.libnotify}/bin/notify-send -u low 'Clipboard cleaned'
${prev.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'
${prev.xclip}/bin/xclip -sel clipboard < /dev/stdin
${prev.libnotify}/bin/notify-send -u low -t 10000 'Clipboard set'
clean &
'';
myAt = super.writeScriptBin "at" ''
myAt = prev.writeScriptBin "at" ''
echo "Running cmd in $(( $(date -d "$1" +%s) - $(date +%s) )) seconds"
sleep $(( $(date -d "$1" +%s) - $(date +%s) ))
shift 1