diff options
author | lassulus <lass@aidsballs.de> | 2016-06-19 00:26:00 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-06-19 00:26:00 +0200 |
commit | fa139f638e07be78393637b049a195b9abf01c30 (patch) | |
tree | 653e4eacea72c88eea9b1c04758161e32d3c255e /lass/2configs | |
parent | d2120732b7643f1dd8770b4e7f75ee6b9c991cca (diff) |
l 2 pulse: add /etc/pulse/daemon.conf
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/pulse.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lass/2configs/pulse.nix b/lass/2configs/pulse.nix index e86ea3b94..3be482191 100644 --- a/lass/2configs/pulse.nix +++ b/lass/2configs/pulse.nix @@ -25,6 +25,13 @@ let default-server = unix:${runDir}/socket ''; + daemonConf = pkgs.writeText "daemon.conf" '' + exit-idle-time=0 + flat-volumes = no + default-fragments = 4 + default-fragment-size-msec = 25 + ''; + configFile = pkgs.writeText "default.pa" '' .include ${pkg}/etc/pulse/default.pa load-module ${toString [ @@ -44,6 +51,7 @@ in #"pulse/client.conf" = mkForce { source = clientConf; }; #"pulse/client.conf".source = mkForce clientConf; "pulse/default.pa".source = configFile; + "pulse/daemon.pa".source = daemonConf; }; systemPackages = [ pkg |