mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 00:09:46 +01:00
Added ollama
This commit is contained in:
parent
a4c73bfe3e
commit
8da5aa6485
@ -10,6 +10,9 @@ in
|
||||
commonHome // {
|
||||
# Refer to the nixOS host for info about home-manager
|
||||
# inherit commonHome;
|
||||
imports = [
|
||||
(import ../../common/ai.nix { gpu = "metal"; })
|
||||
];
|
||||
|
||||
home.stateVersion = "25.11";
|
||||
# Allow unfree packages
|
||||
|
||||
@ -12,6 +12,7 @@ commonHome // {
|
||||
# manage.
|
||||
imports = [
|
||||
../../modules/home-manager/hyprland.nix
|
||||
(import ../../modules/common/ai.nix { gpu = "cuda"; })
|
||||
];
|
||||
# This value determines the Home Manager release that your configuration is
|
||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||
|
||||
@ -1,8 +1,14 @@
|
||||
{ gpu ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
ollama = {
|
||||
enable = true;
|
||||
loadModels = [ "" "" ];
|
||||
loadModels = [ "codegemma:7b-instruct" "codegemma:7b-code" "codegemma:2b" "starcoder2:7b" ];
|
||||
acceleration = gpu;
|
||||
};
|
||||
open-webui = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user