From d2e67546256d1d035e0407254345cda4c0f1126c Mon Sep 17 00:00:00 2001 From: deadvey Date: Mon, 19 Aug 2024 20:14:13 +0100 Subject: [PATCH] 473 current 2024-08-19 20:11:53 24.05.3999.c42fcfbdfeae 6.6.46 * --- configuration.nix | 2 +- nixos-switch.log | 34 +++++++++++++++++++++++++++++----- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/configuration.nix b/configuration.nix index f4cc92e..be930df 100644 --- a/configuration.nix +++ b/configuration.nix @@ -213,7 +213,7 @@ in services.mpd = { enable = true; musicDirectory = "~/media/Audio/playlist"; - extraConfig = ""; + extraConfig = "bind_to_address "127.0.0.1""; }; programs.bash = { diff --git a/nixos-switch.log b/nixos-switch.log index db774bf..cf1ac34 100644 --- a/nixos-switch.log +++ b/nixos-switch.log @@ -1,7 +1,31 @@ building Nix... building the system configuration... -activating the configuration... -setting up /etc... -reloading user units for lightdm... -reloading user units for deadvey... -restarting sysinit-reactivation.target +error: + … while calling the 'head' builtin + + at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1575:11: + + 1574| || pred here (elemAt values 1) (head values) then + 1575| head values + | ^ + 1576| else + + … while evaluating the attribute 'value' + + at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:809:9: + + 808| in warnDeprecation opt // + 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; + | ^ + 810| inherit (res.defsFinal') highestPrio; + + (stack trace truncated; use '--show-trace' to show the full trace) + + error: attempt to call something which is not a function but a string + + at /etc/nixos/configuration.nix:216:19: + + 215| musicDirectory = "~/media/Audio/playlist"; + 216| extraConfig = "bind_to_address "127.0.0.1""; + | ^ + 217| };