desktop stuff
This commit is contained in:
@@ -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" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user