472 current 2024-08-19 20:03:55 24.05.3999.c42fcfbdfeae 6.6.46 *

This commit is contained in:
deadvey 2024-08-19 20:08:40 +01:00
parent d0361209af
commit 675855471b
2 changed files with 58 additions and 22 deletions

View File

@ -208,6 +208,41 @@ in
programs.ncmpcpp = { programs.ncmpcpp = {
enable = true; enable = true;
settings = {
mpd_music_dir = "~/media/Audio/playlist";
mpd_host = "localhost";
mpd_port = "6600";
mpd_connection_timeout = "5";
mpd_crossfade_time = "5";
};
};
services.mpd = {
enable = true;
extraConfig = ''
bind_to_address "127.0.0.1"
#bind_to_address "~/.mpd/socket"
music_directory "~/Music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
pid_file "~/.mpd/mpd.pid"
state_file "~/.mpd/mpdstate"
audio_output {
type "pulse"
name "pulse audio"
device "pulse"
mixer_type "hardware"
}
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
'';
}; };
programs.bash = { programs.bash = {
@ -920,6 +955,7 @@ valign = bottom
killall killall
zip zip
ncmpcpp ncmpcpp
mpd
pulseaudio pulseaudio
nerdfonts nerdfonts
eza eza

View File

@ -1,24 +1,24 @@
building Nix... building Nix...
building the system configuration... building the system configuration...
these 7 derivations will be built: error:
/nix/store/anxcmb94qhagalnrnbhmaqvjkipz5bgq-home-manager-path.drv … while calling the 'head' builtin
/nix/store/7hp1w1z0df5svk65fsh7cszvw0nf46dg-activation-script.drv
/nix/store/l474340c3ykmnykbziskjpqip2bp46is-home-manager-generation.drv at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1575:11:
/nix/store/ddr19dvykyw6h8n85sywrc66xjpqi31b-unit-home-manager-deadvey.service.drv
/nix/store/avnc1g8drd0z3x31y3cx5nw7w5pwrm3g-system-units.drv 1574| || pred here (elemAt values 1) (head values) then
/nix/store/y3w2dly2qhwmq43bq0lzacd7cyfq890d-etc.drv 1575| head values
/nix/store/w1llx19d7j44zm0b9kn875wkx1qc9jqh-nixos-system-nixos-24.05.3999.c42fcfbdfeae.drv | ^
building '/nix/store/anxcmb94qhagalnrnbhmaqvjkipz5bgq-home-manager-path.drv'... 1576| else
created 1939 symlinks in user environment
building '/nix/store/7hp1w1z0df5svk65fsh7cszvw0nf46dg-activation-script.drv'... … while evaluating the attribute 'value'
building '/nix/store/l474340c3ykmnykbziskjpqip2bp46is-home-manager-generation.drv'...
building '/nix/store/ddr19dvykyw6h8n85sywrc66xjpqi31b-unit-home-manager-deadvey.service.drv'... at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:809:9:
building '/nix/store/avnc1g8drd0z3x31y3cx5nw7w5pwrm3g-system-units.drv'...
building '/nix/store/y3w2dly2qhwmq43bq0lzacd7cyfq890d-etc.drv'... 808| in warnDeprecation opt //
building '/nix/store/w1llx19d7j44zm0b9kn875wkx1qc9jqh-nixos-system-nixos-24.05.3999.c42fcfbdfeae.drv'... 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
activating the configuration... | ^
setting up /etc... 810| inherit (res.defsFinal') highestPrio;
reloading user units for lightdm...
reloading user units for deadvey... (stack trace truncated; use '--show-trace' to show the full trace)
restarting sysinit-reactivation.target
restarting the following units: home-manager-deadvey.service error: The option `home-manager.users.deadvey.services.mpd.musicDirectory' is used but not defined.