summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/gkleen@bragi.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/users/gkleen@bragi.nix b/users/gkleen@bragi.nix
new file mode 100644
index 00000000..29d8b8a1
--- /dev/null
+++ b/users/gkleen@bragi.nix
@@ -0,0 +1,17 @@
1{
2 packageOverrides = pkgs: {
3 mpv = let mpv = pkgs.mpv.override { youtubeSupport = true; theoraSupport = true; } in pkgs.stdenv.mkDerivation {
4 name = "mpv-wrapper";
5 src = mpv;
6 unpackPhase = "cat";
7 buildInputs = [ pkgs.makeWrapper ];
8 installPhase = ''
9 mkdir -p $out/bin
10 cp $src/bin/mpv $out/bin
11 wrapProgram $out/bin/mpv \
12 --set JACK_PROMISCUOUS_SERVER 1 \
13 --run "umask 0"
14 '';
15 };
16 };
17}