about summary refs log tree commit diff
path: root/machines/labnet/labtops.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2016-07-28 22:08:29 +0200
committerProfpatsch <mail@profpatsch.de>2016-07-28 22:20:48 +0200
commit7725c0a40abffa96629805b7b4bd40c71cea4748 (patch)
tree0b754f855a014a74e0a3f8ad10e85f3e252d48e0 /machines/labnet/labtops.nix
parent09018c3089fbd5b620dc4f7e403fa192a680ef43 (diff)
machines/hannswurscht: patch pulse buffer size
Testing if that improves streaming.
Diffstat (limited to 'machines/labnet/labtops.nix')
-rw-r--r--machines/labnet/labtops.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/machines/labnet/labtops.nix b/machines/labnet/labtops.nix
index aa06877e..d91e450e 100644
--- a/machines/labnet/labtops.nix
+++ b/machines/labnet/labtops.nix
@@ -14,7 +14,8 @@
 
   };
 
-  hannswurscht = {
+  hannswurscht = { pkgs, ... }:
+  {
     vuizvui.user.openlab.base.enable = true;
 
     nixpkgs.system = "i686-linux";
@@ -23,6 +24,9 @@
     services.mingetty.autologinUser = "openlab";
 
     hardware.pulseaudio = {
+      package = pkgs.pulseaudioLight.overrideDerivation (old: {
+        patches = old.patches or [] ++ [ ./buffer.patch ];
+      });
       enable = true;
       # tcp.enable = true;
       # tcp.anonymousClients.allowedIpRanges = [ "172.16.0.0/16" ];