The release notes for 20.03 say that some options have changed. For instance, the option i18n
no longer exists; the options under it have moved to the option console
. Accordingly, I changed my old configuration to this experimental new one, for instance replacing
i18n = {
consoleFont = "Lat2-Terminus16";
consoleKeyMap = "us";
...
with
console = {
font = "Lat2-Terminus16";
keyMap = "us";
...
When I run sudo nix-channel --list
I see
nixos https://nixos.org/channels/nixos-19.09
which seems to be what it should be. So then I ran these:
nix-channel --add https://nixos.org/channels/nixos-20.03 nixos
nix-channel --update
sudo nixos-rebuild --upgrade boot
The first two execute without complaint, but the last doesn’t recognize the new options. I get the report:
error: The option `console' defined in `/etc/nixos/configuration.nix' does not exist
So now I’m trying my old configuration.nix
file, with the i18n
options. NixOS appears to be happily rebuilding. (I just hope it doesn’t run out of space.)
What have I misunderstood?