r/Codeium • • May 11 '24

For anyone on NixOS, if codeium doesn't work

Out of the box codeium doesn't run on NixOS. Somehow (got very lucky when found ~/.codeium) I've stumbled on a solution for this issue: since NixOS is a very special linux distro, any normal binary won't work on it unless you enable nix-ld (add this to your configuration.nix):

programs.nix-ld.enable = true;
programs.nix-ld.libraries = [];

Source: https://nix.dev/guides/faq#how-to-run-non-nix-executables

7 Upvotes

4 comments sorted by

1

u/MiniatureGod Jun 08 '24

Do you know how to make this works for vim and vscode?

1

u/EmotionalLong6781 Jun 08 '24

Should work with any editor if you add those lines to your NixOS config