If I could get a hold on the fine gentleman who inserted nobreakspace in this layout!
The good news, the world is full of good people. For example, this gentleman explains how to fix a keymap system wide: http://stesie.github.io/2018/09/nixos-custom-keyboard-layout-revisited
You just have to replace it with my patch.