diff options
author | lassulus <lass@aidsballs.de> | 2015-10-15 15:18:20 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-10-15 15:18:20 +0200 |
commit | a8816bcfe351c1fe9e1a00b27707b56eb544d390 (patch) | |
tree | b6aadaa1cde000d791699925dd67bde38046b411 /makefu/1systems | |
parent | 96f13eb838f9bee37a980170f281d3839deb2719 (diff) | |
parent | 2c65fed39714164ff4b28e3352440538ae262c79 (diff) |
Merge remote-tracking branch 'pnp/master'
Diffstat (limited to 'makefu/1systems')
-rw-r--r-- | makefu/1systems/pornocauster.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/makefu/1systems/pornocauster.nix b/makefu/1systems/pornocauster.nix index d208e5112..8f7f5ea7c 100644 --- a/makefu/1systems/pornocauster.nix +++ b/makefu/1systems/pornocauster.nix @@ -42,7 +42,13 @@ krebs.build.user = config.krebs.users.makefu; krebs.build.target = "root@pornocauster"; - environment.systemPackages = with pkgs;[ get]; + environment.systemPackages = with pkgs;[ get ]; + + services.logind.extraConfig = "HandleLidSwitch=ignore"; + # configure pulseAudio to provide a HDMI sink as well + hardware.pulseaudio.configFile = pkgs.writeText "pulse-default-pa" '' + ${builtins.readFile "${config.hardware.pulseaudio.package}/etc/pulse/default.pa"} + load-module module-alsa-sink device=hw:0,3 sink_properties=device.description="HDMIOutput" sink_name="HDMI"''; networking.firewall.allowedTCPPorts = [ 25 ]; |