fix(neovim): better default for ollama and disable neovim in the module
Of course, enable neovim in the desktop and laptop configs
This commit is contained in:
parent
6cde9353ab
commit
efe37836bd
3 changed files with 17 additions and 4 deletions
|
@ -8,7 +8,12 @@
|
|||
let
|
||||
inherit (lib) types mkOption;
|
||||
ollamaPackage =
|
||||
if config.programs.neovim.ollama.type == "amd" then pkgs.ollama-rocm else pkgs.ollama-cuda;
|
||||
if config.programs.neovim.ollama.type == "amd" then
|
||||
pkgs.ollama-rocm
|
||||
else if config.programs.neovim.ollama.type == "nvidia" then
|
||||
pkgs.ollama-cuda
|
||||
else
|
||||
pkgs.ollama;
|
||||
in
|
||||
{
|
||||
options.programs.neovim = {
|
||||
|
@ -41,7 +46,6 @@ in
|
|||
|
||||
config = {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
withNodeJs = true;
|
||||
withPython3 = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue