Error:
error:
… while calling the ‘head’ builtin
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1574:11:
1573| || pred here (elemAt values 1) (head values) then
1574| head values
| ^
1575| else
… while evaluating the attribute 'value'
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:816:9:
815| in warnDeprecation opt //
816| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
817| inherit (res.defsFinal') highestPrio;
(stack trace truncated; use '--show-trace' to show the full trace)
error:
Failed assertions:
- The option definition `sound' in `/etc/nixos/configuration.nix' no longer has any effect; please remove it.
The option was heavily overloaded and can be removed from most configurations.
- The option definition `hardware.opengl.driSupport' in `/etc/nixos/configuration.nix' no longer has any effect; please remove it.
The setting can be removed.
While I understand the last part, I don’t understand first part of the error message.
Also I just switched to 24.11 channel. What am I doing wrong?