1error:2 … while evaluating the attribute 'optionalValue.value'3 at «git+https://github.com/NixOS/nixpkgs?ref=nixpkgs-unstable&rev=3d8f0f3f72a6cd4d93d0ad13203f2ea1cb7e1456&shallow=1»/lib/modules.nix:1330:5:4 1329|5 1330| optionalValue = if isDefined then { value = mergedValue; } else { };6 | ^7 1331| };89 … while evaluating a branch condition10 at «git+https://github.com/NixOS/nixpkgs?ref=nixpkgs-unstable&rev=3d8f0f3f72a6cd4d93d0ad13203f2ea1cb7e1456&shallow=1»/lib/modules.nix:1330:21:11 1329|12 1330| optionalValue = if isDefined then { value = mergedValue; } else { };13 | ^14 1331| };1516 … while evaluating definitions from `/nix/store/xfg4bws749i95jvnxhymxmfwailzk38q-source/modules/transposition.nix':1718 … while evaluating definitions from `/nix/store/jhr81pkrlv465sxybzr0czcyv1y6fqqs-source/checks/flake-module.nix, via option perSystem':1920 … while evaluating the option `system.build.toplevel':2122 … while evaluating definitions from `/nix/store/yijgvcly3sdvj90y55w6qd7lcihzy36s-source/nixos/modules/system/activation/top-level.nix':2324 … while evaluating the option `programs.ssh.knownHosts."build02.vpn.clan.lol".publicKey':2526 … while evaluating definitions from `/nix/store/jhr81pkrlv465sxybzr0czcyv1y6fqqs-source/modules/web01/remote-builder.nix':2728 … while evaluating definitions from `/nix/store/jam81gdfp0984mmjnf4hmgzys9y8v9vf-source/flakeModules/clan.nix':2930 … while evaluating definitions from `/nix/store/jam81gdfp0984mmjnf4hmgzys9y8v9vf-source/modules/clan/module.nix':3132 (stack trace truncated; use '--show-trace' to show the full, detailed trace)3334 error:35 nix-darwin now uses release branches that correspond to Nixpkgs releases.36 The nix-darwin and Nixpkgs branches in use must match, but you are currently37 using nix-darwin 26.11 with Nixpkgs 26.05.3839 On macOS, you should use either the `nixpkgs-unstable` or40 `nixpkgs-YY.MM-darwin` branches of Nixpkgs. These correspond to the41 `master` and `nix-darwin-YY.MM` branches of nix-darwin, respectively. Check42 <https://status.nixos.org/> for the currently supported Nixpkgs releases.4344 If you’re using flakes, make sure your inputs look like this:4546 inputs = {47 nixpkgs.url = "github:NixOS/nixpkgs/NIXPKGS-BRANCH";48 nix-darwin.url = "github:nix-darwin/nix-darwin/NIX-DARWIN-BRANCH";49 nix-darwin.inputs.nixpkgs.follows = "nixpkgs";50 # …51 };5253 If you’re using channels, you can check your current channels with:5455 $ sudo nix-channel --list56 nixpkgs https://nixos.org/channels/NIXPKGS-BRANCH57 darwin https://github.com/nix-darwin/nix-darwin/archive/NIX-DARWIN-BRANCH.tar.gz58 …59 $ nix-channel --list60 …6162 If `darwin` or `nixpkgs` are present in `nix-channel --list` (without63 `sudo`), you should delete them with `nix-channel --remove NAME`. These can64 contribute to version mismatch problems.6566 You can then fix your channels like this:6768 $ sudo nix-channel --add https://nixos.org/channels/NIXPKGS-BRANCH nixpkgs69 $ sudo nix-channel --add https://github.com/nix-darwin/nix-darwin/archive/NIX-DARWIN-BRANCH.tar.gz darwin70 $ sudo nix-channel --update7172 After that, activating your system again should work correctly. If it73 doesn’t, please open an issue at74 <https://github.com/nix-darwin/nix-darwin/issues/new> and include as much75 information as possible.