update nixos

This commit is contained in:
Gabriel Ebner 2023-08-28 13:11:45 -07:00
parent 2b8fc1d91c
commit 37033049ed
2 changed files with 45 additions and 45 deletions

@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1692447944, "lastModified": 1693158576,
"narHash": "sha256-fkJGNjEmTPvqBs215EQU4r9ivecV5Qge5cF/QDLVn3U=", "narHash": "sha256-aRTTXkYvhXosGx535iAFUaoFboUrZSYb1Ooih/auGp0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d680ded26da5cf104dd2735a51e88d2d8f487b4d", "rev": "a999c1cc0c9eb2095729d5aa03e0d8f7ed256780",
"type": "github" "type": "github"
}, },
"original": { "original": {

@ -150,46 +150,46 @@ let mpdStreamingPort = 8080; in
system.stateVersion = "22.11"; system.stateVersion = "22.11";
services.mpd = { # services.mpd = {
enable = true; # enable = true;
# network.listenAddress = "127.0.0.1"; # # network.listenAddress = "127.0.0.1";
# musicDirectory = "/mnt/aplysia/music"; # # musicDirectory = "/mnt/aplysia/music";
musicDirectory = "/home/gebner/Music"; # musicDirectory = "/home/gebner/Music";
user = "gebner"; # user = "gebner";
extraConfig = '' # extraConfig = ''
bind_to_address "100.125.210.32" # bind_to_address "100.125.210.32"
#
# # 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" # server "127.0.0.1"
# } # }
#
audio_output { # audio_output {
type "pulse" # type "httpd"
name "pulse" # name "http"
server "127.0.0.1" # encoder "flac"
} # port "${toString mpdStreamingPort}"
# }
audio_output { #
type "httpd" # replaygain "auto"
name "http" # restore_paused "yes"
encoder "flac" # '';
port "${toString mpdStreamingPort}" # };
} #
# environment.etc."pipewire/pipewire-pulse.conf.d/listen.conf".text = ''
replaygain "auto" # pulse.properties = {
restore_paused "yes" # server.address = [
''; # "unix:native"
}; # "tcp:127.0.0.1:4713"
# # "tcp:100.97.134.100:4713"
environment.etc."pipewire/pipewire-pulse.conf.d/listen.conf".text = '' # ]
pulse.properties = { # }
server.address = [ # '';
"unix:native"
"tcp:127.0.0.1:4713"
# "tcp:100.97.134.100:4713"
]
}
'';
} }