euhadra: use systemwide pulseaudio

This commit is contained in:
Gabriel Ebner 2017-10-26 22:05:58 +02:00
parent 78360f34f2
commit 5c606ec298
2 changed files with 10 additions and 4 deletions

@ -73,7 +73,7 @@
users.extraUsers.gebner = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "transmission" ];
extraGroups = [ "wheel" "networkmanager" "audio" "transmission" ];
# shell = "${pkgs.zsh}/bin/zsh";
password = if config.virtualisation != null then "" else null;

@ -30,10 +30,15 @@
network.listenAddress = "any";
musicDirectory = "/mnt/vaccaria/music";
extraConfig = ''
# audio_output {
# type "alsa"
# name "dac"
# device "sysdefault:CARD=QAMP"
# }
audio_output {
type "alsa"
name "dac"
device "sysdefault:CARD=QAMP"
type "pulse"
name "pulse"
}
replaygain "auto"
@ -53,6 +58,7 @@
nixpkgs.config.mpv.vaapiSupport = true;
hardware.pulseaudio = {
systemWide = true;
zeroconf.publish.enable = true;
tcp = {
enable = true;