Debugging Help for a new-ish nix user #2225
-
|
I've created a standalone nixvim config, available here but i have an odd problem. When running this against But when I include this as a home-manager package in a home-manager flake, I get no start-up dashboard, just takes me straight to NetRW. (home manager inclusion method is in the readme). Has anyone else seen this behaviour from a standalone installation? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 24 replies
-
|
Are you installing the home-manager module or are you including the package you build in your standalone flake in See Standalone Usage in the docs. Sidenote: a standalone package doesn't need to also be in a standalone flake, since one flake can have many outputs. |
Beta Was this translation helpful? Give feedback.

So, I've no idea why the non-deterministic-ness is occuring, but i've decided to work around the problem for now.
For anyone curious, here's the relevant autocmd: https://gitlab.com/bf86/flakes/neovim/-/blob/main/config/autocmd.nix?ref_type=heads#L81
And here, i've skipped loading netrw on startup just incase: https://gitlab.com/bf86/flakes/neovim/-/blob/main/config/globals.nix?ref_type=heads#L12
This now works as expected.