euhadra: publish pulseaudio server
This commit is contained in:
parent
aee6a3d0ae
commit
78360f34f2
19
euhadra.nix
19
euhadra.nix
@ -40,12 +40,27 @@
|
|||||||
restore_paused "yes"
|
restore_paused "yes"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [ config.services.mpd.network.port ];
|
|
||||||
|
networking.firewall.allowedTCPPorts = [
|
||||||
|
config.services.mpd.network.port
|
||||||
|
4713 # pulseaudio
|
||||||
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ mpc_cli ];
|
environment.systemPackages = with pkgs; [ mpc_cli ];
|
||||||
|
|
||||||
services.xserver.vaapiDrivers = [ pkgs.vaapiIntel ];
|
hardware.opengl.extraPackages = [ pkgs.vaapiIntel ];
|
||||||
|
|
||||||
nixpkgs.config.mpv.vaapiSupport = true;
|
nixpkgs.config.mpv.vaapiSupport = true;
|
||||||
|
|
||||||
|
hardware.pulseaudio = {
|
||||||
|
zeroconf.publish.enable = true;
|
||||||
|
tcp = {
|
||||||
|
enable = true;
|
||||||
|
anonymousClients.allowedIpRanges = [
|
||||||
|
"127.0.0.1"
|
||||||
|
"10.57.0.0/16"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user