Compare commits

...

4 commits

4 changed files with 15 additions and 7 deletions

View file

@ -301,7 +301,7 @@
crony.wireguard.enable = true;
crony.secrets.enable = true;
crony.boot.enable = true;
# crony.ollama.enable = true;
crony.ollama.enable = true;
crony.sunshine.enable = true;
crony.bluetooth.enable = true;
crony.localsend.enable = true;

View file

@ -307,6 +307,9 @@ in {
# Move to workspace 1
"workspace 1, match:class ^(zen-beta)$"
# Move to workspace 4
"workspace 4, match:class ^(com.stremio.stremio)$"
# Move to workspace 5
"workspace 5, match:class ^(vesktop)$"

View file

@ -25,6 +25,10 @@
croc
];
programs.opencode = {
enable = true;
};
programs.beets = {
enable = true;
settings = {

View file

@ -1,5 +1,6 @@
{
config,
pkgs,
lib,
...
}: {
@ -10,15 +11,15 @@
config = lib.mkIf config.crony.ollama.enable {
services.ollama = {
enable = true;
loadModels = ["deepseek-r1:14b" "deepseek-coder-v2:16b-lite-instruct-q4_K_M"];
acceleration = "cuda";
};
services.open-webui = {
enable = true;
package = pkgs.ollama-cuda;
loadModels = ["gpt-oss:20b"];
};
# services.open-webui = {
# enable = true;
# };
systemd.services.ollama.wantedBy = lib.mkForce [];
systemd.services.ollama-model-loader.wantedBy = lib.mkForce [];
systemd.services.open-webui.wantedBy = lib.mkForce [];
# systemd.services.open-webui.wantedBy = lib.mkForce [];
};
}