m 1 pornocauster: ignore lidswitch, configure additional sink for pulse
This commit is contained in:
parent
cb4d37d3ee
commit
f73fe104d8
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user