ollama
This commit is contained in:
@@ -9,9 +9,14 @@
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
# ./wack.nix
|
||||
./ollama.nix
|
||||
../../common/builder.nix
|
||||
];
|
||||
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
rocmSupport = true;
|
||||
};
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
@@ -65,12 +70,8 @@
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = false; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = false; # Open ports in the firewall for Source Dedicated Server
|
||||
};
|
||||
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
remotePlay.openFirewall = false;
|
||||
dedicatedServer.openFirewall = false;
|
||||
};
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
18
hosts/asuka/soryu/ollama.nix
Normal file
18
hosts/asuka/soryu/ollama.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
package = inputs.unstable.legacyPackages.x86_64-linux.ollama-rocm;
|
||||
host = "100.64.0.19";
|
||||
loadModels = [
|
||||
"gemma3:4b"
|
||||
"gemma3:12b"
|
||||
"gemma3:27b"
|
||||
"deepseek-r1:7b"
|
||||
"deepseek-r1:14b"
|
||||
"qwq:32b"
|
||||
"codestral:22b"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user