NixVim Installation Issue on VMware
Environment
-
Platform: VMware
-
Resources: 4 cores, 4GB RAM
-
OS: NixOS with flake configuration
Problem Description
I’m testing my NixOS flake configuration and encountered an issue where nixvim gets completely stuck after the flake pulls dependencies.
Symptoms
-
No error messages displayed
-
100% CPU usage
-
Process appears frozen/unresponsive
Additional Context
My computer has limited memory, so I cannot determine if this is a memory-related issue. However, I don’t believe nixvim build should require significant memory resources.
Configuration Details
-
Configuration only enables nixvim (minimal setup)
-
nix-community cache is enabled (unsure if required)
Workaround Found
The following workaround works successfully:
-
Temporarily disable nixvim in configuration
-
Install the base system
-
Re-enable nixvim after installation
-
Run
nixos-rebuild
- works normally
Question
Has anyone encountered a similar issue with nixvim during initial flake installation? Any suggestions for resolving this during the initial install process?