m 1 pornocauster: ignore lidswitch, configure additional sink for pulse
This commit is contained in:
parent
cb4d37d3ee
commit
f73fe104d8
@ -43,6 +43,12 @@
|
|||||||
krebs.build.target = "root@pornocauster";
|
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 = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
25
|
25
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user