Enable ollama service
This commit is contained in:
parent
702129d778
commit
0bf0b8b88b
@ -100,4 +100,10 @@
|
|||||||
# Command and Conquer Ports
|
# Command and Conquer Ports
|
||||||
networking.firewall.allowedUDPPorts = [ 4321 27900 ];
|
networking.firewall.allowedUDPPorts = [ 4321 27900 ];
|
||||||
networking.firewall.allowedTCPPorts = [ 6667 28910 29900 29920 ];
|
networking.firewall.allowedTCPPorts = [ 6667 28910 29900 29920 ];
|
||||||
|
|
||||||
|
nixpkgs.config.rocmSupport = true;
|
||||||
|
services.ollama = {
|
||||||
|
enable = true;
|
||||||
|
acceleration = "rocm";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user