diff --git a/common-headless.nix b/common-headless.nix index ded8328..5266dec 100644 --- a/common-headless.nix +++ b/common-headless.nix @@ -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; diff --git a/euhadra.nix b/euhadra.nix index bbafe20..2fe4e46 100644 --- a/euhadra.nix +++ b/euhadra.nix @@ -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;