diff --git a/bin/prepend b/bin/prepend new file mode 100755 index 0000000..41d42e6 --- /dev/null +++ b/bin/prepend @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +while read line; do echo "${1}${line}"; done; diff --git a/config/xsession/zsh/zsh.nix b/config/xsession/zsh/zsh.nix index 0f4a9da..6c92d44 100644 --- a/config/xsession/zsh/zsh.nix +++ b/config/xsession/zsh/zsh.nix @@ -72,7 +72,7 @@ home.packages = [ pkgs.nerdfonts - pkgs.ntfy + #pkgs.ntfy ]; } diff --git a/home.nix b/home.nix index 37171fd..a39bffb 100644 --- a/home.nix +++ b/home.nix @@ -19,7 +19,7 @@ nixops ldns - danstable.mangohud +# danstable.mangohud unstable.steam dolphinEmuMaster diff --git a/overlays/ffmpeg.nix b/overlays/ffmpeg.nix new file mode 100644 index 0000000..115ac6f --- /dev/null +++ b/overlays/ffmpeg.nix @@ -0,0 +1,53 @@ +self: super: +{ + ffmpeggit = super.ffmpeg-full.overrideAttrs (old: rec { + version = "4.2.2"; + src = super.fetchurl { + url = "http://www.ffmpeg.org/releases/ffmpeg-snapshot-git.tar.bz2"; + sha256 = "1lj7spgmv2kqiz25dpy2gzbciqdsm7j3q1s1j4csnal5jyq6a28m"; + }; + configureFlags = [ + "--enable-gpl" + "--enable-version3" + "--enable-static" + "--disable-debug" + "--disable-ffplay" + "--disable-indev=sndio" + "--disable-outdev=sndio" + "--cc=gcc" + "--enable-fontconfig" + "--enable-frei0r" + "--enable-gnutls" + "--enable-gmp" + "--enable-libgme" + "--enable-gray" + "--enable-libaom" + "--enable-libfribidi" + "--enable-libass" + "--enable-libvmaf" + "--enable-libfreetype" + "--enable-libmp3lame" + "--enable-libopencore-amrnb" + "--enable-libopencore-amrwb" + "--enable-libopenjpeg" + "--enable-libsoxr" + "--enable-libspeex" + "--enable-libvorbis" + "--enable-libopus" + "--enable-libtheora" + "--enable-libvidstab" + "--enable-libvo-amrwbenc" + "--enable-libvpx" + "--enable-libwebp" + "--enable-libx264" + "--enable-libx265" + "--enable-libdav1d" + "--enable-libxvid" + ]; + patches = []; + }); + myffmpeg = self.ffmpeggit.override (OldAttr: { + libaom = self.mylibaom; + }); + +}