desktop stuff

This commit is contained in:
2024-09-22 01:44:54 -04:00
parent effcf49fc5
commit d533653e97
8 changed files with 66 additions and 18 deletions

View File

@@ -99,6 +99,26 @@
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
services.ollama = {
enable = true;
acceleration = "rocm";
environmentVariables = {
HCC_AMDGPU_TARGET = "gfx1031"; # used to be necessary, but doesn't seem to anymore
};
rocmOverrideGfx = "10.3.1";
};
services.open-webui = {
enable = true;
openFirewall = true;
port = 8082;
environment = {
# Disable authentication
WEBUI_AUTH = "False";
PYDANTIC_SKIP_VALIDATING_CORE_SCHEMAS = "True";
};
};
systemd.packages = with pkgs; [ lact ];
systemd.services.lactd.wantedBy = [ "multi-user.target" ];