danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
904 stars 105 forks source link

Cannot find colorscheme 'base16-stylix' #378

Closed WJehee closed 2 weeks ago

WJehee commented 1 month ago

Hey, love the project pretty much everything worked straight out of the box for me, but I came across this one issue. I have 2 machines running the same configuration, but on 1 of the machines i get the following error when opening neovim:

Error detected while processing /home/user/.config/nvim/init.lua:
E5113: Error while calling lua chunk: vim/_editor.lua:0: /home/user/.config/nvim/init.lua..nvim_exec2() called at /home/user/.config/nvim/init.lua:0../nix/store/ccv39rvxf4swj4qnspkzk9k0np384z88-nvim
-init-home-manager.vim, line 2: Vim(colorscheme):E185: Cannot find color scheme 'base16-stylix'
stack traceback:
        [C]: in function 'nvim_exec2'
        vim/_editor.lua: in function 'cmd'
        /home/user/.config/nvim/init.lua:1: in main chunk

I have already verified that all the files are present, there is a /nix/store/.../colors/base16-stylix.nix, etc. The files also look identical accross devices I am not using nixvim

For now i have disabled the nvim module, but i would prefer for it to work like my other machine

Does anyone know what could be going on here?

WJehee commented 2 weeks ago

I'm not sure what the issue was, but it seems it solved itself. I can't reproduce it anymore, so I'm closing this issue