euhadra: update

This commit is contained in:
Gabriel Ebner 2022-11-25 19:55:17 -08:00
parent bd20b7622d
commit 32ec56e6e0

@ -6,7 +6,7 @@ let mpdStreamingPort = 8080; in
[ [
/etc/nixos/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
./common-headless.nix ./common-headless.nix
./i3.nix ./sway.nix
./uefi.nix ./uefi.nix
./fstrim.nix ./fstrim.nix
# ./nebula.nix # ./nebula.nix
@ -37,6 +37,7 @@ let mpdStreamingPort = 8080; in
musicDirectory = "/mnt/aplysia/music"; musicDirectory = "/mnt/aplysia/music";
extraConfig = '' extraConfig = ''
bind_to_address "10.59.0.6" bind_to_address "10.59.0.6"
bind_to_address "100.97.134.100"
# audio_output { # audio_output {
# type "alsa" # type "alsa"
@ -67,6 +68,7 @@ let mpdStreamingPort = 8080; in
"pulse.properties"."server.address" = [ "pulse.properties"."server.address" = [
"unix:native" "unix:native"
"tcp:127.0.0.1:4713" "tcp:127.0.0.1:4713"
"tcp:100.97.134.100:4713"
]; ];
}; };
}; };
@ -96,7 +98,7 @@ let mpdStreamingPort = 8080; in
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
config.services.mpd.network.port config.services.mpd.network.port
# 4713 # pulseaudio 4713 # pulseaudio
mpdStreamingPort # mpd streaming mpdStreamingPort # mpd streaming
]; ];
@ -118,5 +120,7 @@ let mpdStreamingPort = 8080; in
# }; # };
# }; # };
system.stateVersion = "19.03"; system.stateVersion = "22.05";
time.timeZone = pkgs.lib.mkOverride 10 "US/Pacific";
} }