summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-06-12 19:45:21 +0200
committermakefu <github@syntax-fehler.de>2016-06-12 19:45:21 +0200
commit0bfa1dbaf0eae32fe972a42d8f9c9d16caae8b11 (patch)
tree8672aece275f00dbc039bd09f586f8f99d436041 /makefu/2configs/hw
parent501897654670ef89a99a45749af63b9e98064dd5 (diff)
ma 2 tp-x220: minor tweaks
Diffstat (limited to 'makefu/2configs/hw')
-rw-r--r--makefu/2configs/hw/tp-x220.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefu/2configs/hw/tp-x220.nix b/makefu/2configs/hw/tp-x220.nix
index be3d1eb70..1c9a34965 100644
--- a/makefu/2configs/hw/tp-x220.nix
+++ b/makefu/2configs/hw/tp-x220.nix
@@ -5,7 +5,7 @@ with config.krebs.lib;
imports = [ ./tp-x2x0.nix ];
boot = {
- kernelModules = [ "kvm-intel" "acpi_call" ];
+ kernelModules = [ "kvm-intel" "acpi_call" "tpm-rng" ];
extraModulePackages = [ config.boot.kernelPackages.tp_smapi ];
};
@@ -28,7 +28,7 @@ with config.krebs.lib;
# enable HDMI output switching with pulseaudio
hardware.pulseaudio.configFile = pkgs.writeText "pulse-default-pa" ''
- ${builtins.readFile "${config.hardware.pulseaudio.package}/etc/pulse/default.pa"}
+ ${builtins.readFile "${config.hardware.pulseaudio.package.out}/etc/pulse/default.pa"}
load-module module-alsa-sink device=hw:0,3 sink_properties=device.description="HDMIOutput" sink_name="HDMI"
'';