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
|
@ -8,7 +8,12 @@
|
||||||
let
|
let
|
||||||
inherit (lib) types mkOption;
|
inherit (lib) types mkOption;
|
||||||
ollamaPackage =
|
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
|
in
|
||||||
{
|
{
|
||||||
options.programs.neovim = {
|
options.programs.neovim = {
|
||||||
|
@ -41,7 +46,6 @@ in
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
|
||||||
withNodeJs = true;
|
withNodeJs = true;
|
||||||
withPython3 = true;
|
withPython3 = true;
|
||||||
|
|
||||||
|
|
|
@ -117,6 +117,10 @@
|
||||||
# MODULES #
|
# MODULES #
|
||||||
#
|
#
|
||||||
|
|
||||||
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
modules.hyprland = {
|
modules.hyprland = {
|
||||||
# Enable scripts
|
# Enable scripts
|
||||||
scripts = {
|
scripts = {
|
||||||
|
|
|
@ -106,8 +106,13 @@
|
||||||
# MODULES #
|
# MODULES #
|
||||||
#
|
#
|
||||||
|
|
||||||
# Set the hostname for nixd in neovim
|
# Enable neovim
|
||||||
programs.neovim.nixd.hostname = "wizlap";
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
# Set the hostname for nixd in neovim
|
||||||
|
nixd.hostname = "wizlap";
|
||||||
|
};
|
||||||
|
|
||||||
# Add monitor configuration to hyprland
|
# Add monitor configuration to hyprland
|
||||||
modules.hyprland = {
|
modules.hyprland = {
|
||||||
|
|
Loading…
Reference in a new issue