mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-04-27 06:31:20 +00:00
Ollama and update
This commit is contained in:
parent
6ab03d4cb5
commit
cce1e33c23
3 changed files with 19 additions and 7 deletions
|
@ -39,11 +39,11 @@
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1737404254,
|
"lastModified": 1738804720,
|
||||||
"narHash": "sha256-L8Lxp/WVdy9gKO2cXptphdP8cMsnGvZF5Noj8N3jLzI=",
|
"narHash": "sha256-3bAR5ALk5AoFt4BlsQRdjSV6VVH6lbgtYdElb0A+qDc=",
|
||||||
"owner": "0xc000022070",
|
"owner": "0xc000022070",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "f8ef9c97ac2f49d5c04dbf3b3d80a0490c05fefb",
|
"rev": "7868f1c54b7f8e09be194aaa0934791596df1ea1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
16
nixos/modules/ollama.nix
Normal file
16
nixos/modules/ollama.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Add Ollama and OpenWebUI
|
||||||
|
services.ollama = {
|
||||||
|
enable = true;
|
||||||
|
loadModels = [ deepseek-r1:32b ];
|
||||||
|
acceleration = "rocm";
|
||||||
|
rocmOverrideGfx = "11.0.0";
|
||||||
|
environmentVariables = {
|
||||||
|
HSA_OVERRIDE_GFX_VERSION = "11.0.0";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.open-webui.enable = true;
|
||||||
|
}
|
|
@ -71,9 +71,5 @@
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableOnBoot = false;
|
enableOnBoot = false;
|
||||||
rootless = {
|
|
||||||
enable = true;
|
|
||||||
setSocketVariable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue