diff --git a/nixosModules/software/aichat.nix b/nixosModules/software/aichat.nix new file mode 100644 index 0000000..4481f9b --- /dev/null +++ b/nixosModules/software/aichat.nix @@ -0,0 +1,24 @@ +{ + config, + lib, + pkgs, + xlib, + ... +}: +{ + # services = { + # nextjs-ollama-llm-ui.enable = false; + # ollama = { + # enable = false; + # package = pkgs.ollama-rocm; + # environmentVariables = { + # HSA_OVERRIDE_GFX_VERSION = "11.5.0"; + # HCC_AMDGPU_TARGET = "gfx1150"; # used to be necessary, but doesn't seem to anymore + # }; + # user = "ollama"; # "${xlib.device.username}"; + # group = "ollama"; + # acceleration = "rocm"; + # rocmOverrideGfx = "11.5.0"; + # }; + # }; +} diff --git a/nixosModules/wsl/default.nix b/nixosModules/wsl/default.nix index 9828773..274e602 100755 --- a/nixosModules/wsl/default.nix +++ b/nixosModules/wsl/default.nix @@ -7,6 +7,7 @@ imports = [ ../software/beets ../software/whisper.nix + ../software/aichat.nix #../services/tts.nix #../server/open-webui.nix ];