summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--users/gkleen@bragi.nix17
2 files changed, 18 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 40c71083..d184a07f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
1configuration.nix 1configuration.nix
2config.nix
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}