Updated AI host to use 2 HDDs
This commit is contained in:
@@ -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
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user