fix(nvim): don't do assertion if not ide
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-04-22 15:27:11 -04:00
parent b6c4957043
commit 731b85c948

View file

@ -21,8 +21,8 @@
in { in {
assertions = [ assertions = [
{ {
assertion = hasPrefix "/home/${mainUser}/" flakeEnv; assertion = neovimIde && hasPrefix "/home/${mainUser}/" flakeEnv || !neovimIde;
message = mdDoc '' message = ''
Your $FLAKE environment variable needs to point to a directory in Your $FLAKE environment variable needs to point to a directory in
the main users' home to use the neovim module. the main users' home to use the neovim module.
''; '';