euhadra: use systemwide pulseaudio
This commit is contained in:
parent
78360f34f2
commit
5c606ec298
@ -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;
|
||||
|
12
euhadra.nix
12
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;
|
||||
|
Loading…
Reference in New Issue
Block a user