NixOS 23.05 -> 23.11 notes
Keyboard layout issues
- services.xserver.layout was renamed to services.xserver.xkb.layout
- dvorak is no longer a layout, but a variant. So
services.xserver = {
xkb.layout = "us";
xkb.variant = "dvorak";
}
If you use the old setting name, xkb-console-keymap will fail with
"Can not find file "symbols/dvorak" in any known directory".
If you say xkb.layout = dvorak,
you'll see an error like
error: builder for '/nix/store/hfh2kjpwg0dxc0xz6y9frl4xdzl6zksw-xkb-validated.drv' failed with exit code 1;
last 10 log lines:
> 1 include paths searched:
> /nix/store/w4m1s9q2hlisl2bbhxmlwmci1m7nxzdr-xkeyboard-config-2.40/etc/X11/xkb
> 3 include paths could not be added:
> /homeless-shelter/.config/xkb
> /homeless-shelter/.xkb
> /etc/xkb
> Abandoning symbols file "(unnamed)"
> Failed to compile xkb_symbols
> Failed to compile keymap
>
libzmq apparently is no longer by default compiled with libsodum.
So a quick
zeromq_with_libsodium = pkgs.zeromq.overrideAttrs (old: rec {
cmakeFlags = old.cmakeFlags ++ ["-DWITH_LIBSODIUM=ON" "-DENABLE_CURVE=ON"];
});
pyzmq_with_libsodium = pkgs.python310.pkgs.pyzmq.overrideAttrs (old: rec {
buildInputs = [zeromq_with_libsodium];
});
is in order.