Did you run nixos-rebuild switch to actually switch your system to a new config based on the updated channel?
You will also need to restart gnome (or just your machine) to actually start using the new version.
Thanks for the quick reply. Yes I did. I just realized I am using ZFS and have set this in my hardware-configuration.nix.
Do you know if it has something to do with this flag:
Yeah, so your current system is on commit 3c5319ad3aa of nixpkgs, which was committed on March 4th, so it seems that you are not actually upgrading your system.
What is the output of running sudo nixos-rebuild --upgrade switch ?
~ > sudo nix-channel --list
nixos https://nixos.org/channels/nixos-unstable
~ > sudo nixos-rebuild switch --upgrade -I nixos-config=./configuration.nix
unpacking channels...
building Nix...
building the system configuration...
updating GRUB 2 menu...
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
lsblk: /dev/mapper/no*[0-9]: not a block device
lsblk: /dev/mapper/block*[0-9]: not a block device
lsblk: /dev/mapper/devices*[0-9]: not a block device
lsblk: /dev/mapper/found*[0-9]: not a block device
activating the configuration...
setting up /etc...
reloading user units for nixos-user...
setting up tmpfiles
the following new units were started: libvirtd.service
~ >
Did you actually reboot? If so, then my first idea would be that there’s an issue with the bootloader config.
It seems that the new generation is being built, but that it’s not being used.
Did the commit hash in /etc/os-release change after you ran this command?
If you are on nix 2.14 or 2.15, there are some known problems with channel based setups and the newer versions of nix, I can’t find the issues though.
One of the issues is that nix-channel --update updates the channels in a different location than where nixos-rebuild will search for them.
One workaround is to downgrade to nix 2.13, the other is to use -I nixpkgs=… to point nixos-rebuild to the correct location or permanently alter the NIX_PATH environment variable to point there.
As I haven’t used channels in the last 2 years, I do not know the details, just reciting what I’ve heard in the various chats and posts over the last couple of weeks.