euhadra: use systemwide pulseaudio
This commit is contained in:
parent
78360f34f2
commit
5c606ec298
@ -73,7 +73,7 @@
|
|||||||
|
|
||||||
users.extraUsers.gebner = {
|
users.extraUsers.gebner = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "networkmanager" "transmission" ];
|
extraGroups = [ "wheel" "networkmanager" "audio" "transmission" ];
|
||||||
# shell = "${pkgs.zsh}/bin/zsh";
|
# shell = "${pkgs.zsh}/bin/zsh";
|
||||||
|
|
||||||
password = if config.virtualisation != null then "" else null;
|
password = if config.virtualisation != null then "" else null;
|
||||||
|
12
euhadra.nix
12
euhadra.nix
@ -30,10 +30,15 @@
|
|||||||
network.listenAddress = "any";
|
network.listenAddress = "any";
|
||||||
musicDirectory = "/mnt/vaccaria/music";
|
musicDirectory = "/mnt/vaccaria/music";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
# audio_output {
|
||||||
|
# type "alsa"
|
||||||
|
# name "dac"
|
||||||
|
# device "sysdefault:CARD=QAMP"
|
||||||
|
# }
|
||||||
|
|
||||||
audio_output {
|
audio_output {
|
||||||
type "alsa"
|
type "pulse"
|
||||||
name "dac"
|
name "pulse"
|
||||||
device "sysdefault:CARD=QAMP"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
replaygain "auto"
|
replaygain "auto"
|
||||||
@ -53,6 +58,7 @@
|
|||||||
nixpkgs.config.mpv.vaapiSupport = true;
|
nixpkgs.config.mpv.vaapiSupport = true;
|
||||||
|
|
||||||
hardware.pulseaudio = {
|
hardware.pulseaudio = {
|
||||||
|
systemWide = true;
|
||||||
zeroconf.publish.enable = true;
|
zeroconf.publish.enable = true;
|
||||||
tcp = {
|
tcp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user