I’m using a neovim nightly overlay and I’ve gotten it to successfully install by adding the overlay and then including the package in my configuration.nix via environment.systemPackages. Once I run nixos-rebuild --switch the package is available. Once I reboot though however, the package is not installed. Am I doing this the wrong way?
To note, I’m using the Virtualbox VM in VMware Fusion, so maybe this might relate to the issue?
If you have a separate boot partition, is it mounted when you run nixos-rebuild? I’ve made the mistake of forgetting a fileSystems."/boot" config entry before and it causes behaviour like this. The switch succeeds but GRUB doesn’t get updated to point to the latest system configuration.
That’s possible, that my configuration is incorrect. I’m somewhat unfamiliar with the filesystem setup of this virtualbox machine. Is there an easy way to determine if my machine is configured in that way? Or do I definitely need to have a boot config entry? I’ll see what I can determine.
What you need depends on how you’ve set the system up to boot, whether with BIOS boot or EFI, and whether you’re using GRUB or systemd-boot or not. Are you able to post your system’s configuration.nix, and your partition layout (output of lsblk) please?