Updated AI host to use 2 HDDs

This commit is contained in:
Random936
2026-04-25 18:18:00 -04:00
parent f8fb28d560
commit 8ecb4d3962
2 changed files with 9 additions and 0 deletions

View File

@@ -43,6 +43,8 @@
];
};
openFirewall = true;
# Make sure this path is created and has the permissions of ollama:ollama.
models = "/mnt/storage/models";
environmentVariables = {
OLLAMA_CONTEXT_LENGTH = "8192";
};
@@ -81,6 +83,7 @@
# System Packeges Related to AI
environment.systemPackages = with pkgs; [
opencode
openclaw
claude-code
];
}

View File

@@ -24,6 +24,12 @@
options = [ "fmask=0022" "dmask=0022" ];
};
# The label "storage" can be set using e2label.
fileSystems."/mnt/storage" = {
device = "/dev/disk/by-label/storage";
fsType = "ext4";
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking