summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/tp-x230.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-07-03 11:44:47 +0200
committermakefu <github@syntax-fehler.de>2017-07-03 11:44:47 +0200
commitd3af8d37f8e3d806ca3744b7086f8d5e30f72875 (patch)
tree29a60fb7a6f8991025c959fc5a3466d6743efd71 /makefu/2configs/hw/tp-x230.nix
parent5bf562cd78dbe1050de27fae1dcc2ffc305cef18 (diff)
ma x230/pulseaudio: use extraConfig
Diffstat (limited to 'makefu/2configs/hw/tp-x230.nix')
-rw-r--r--makefu/2configs/hw/tp-x230.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/makefu/2configs/hw/tp-x230.nix b/makefu/2configs/hw/tp-x230.nix
index 2de32dd94..c705b52a7 100644
--- a/makefu/2configs/hw/tp-x230.nix
+++ b/makefu/2configs/hw/tp-x230.nix
@@ -44,8 +44,7 @@ with import <stockholm/lib>;
'';
# enable HDMI output switching with pulseaudio
- hardware.pulseaudio.configFile = pkgs.writeText "pulse-default-pa" ''
- ${builtins.readFile "${config.hardware.pulseaudio.package.out}/etc/pulse/default.pa"}
+ hardware.pulseaudio.extraConfig = ''
load-module module-alsa-sink device=hw:0,3 sink_properties=device.description="HDMIOutput" sink_name="HDMI"
'';