Compare commits
3 commits
d348fb8032
...
93f49e3227
Author | SHA1 | Date | |
---|---|---|---|
♥ Minnie ♥ | 93f49e3227 | ||
♥ Minnie ♥ | a93435fede | ||
♥ Minnie ♥ | 2e37cefe3e |
|
@ -14,6 +14,12 @@
|
|||
"/var/lib/nixos"
|
||||
"/var/lib/systemd/coredump"
|
||||
"/etc/NetworkManager/system-connections"
|
||||
|
||||
# Directories that require mode other than 0755
|
||||
{
|
||||
directory = "/var/lib/private";
|
||||
mode = "0700";
|
||||
}
|
||||
];
|
||||
files = [
|
||||
"/etc/machine-id"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
./services/amdgpu-clocks
|
||||
./services/flatpak
|
||||
./services/libinput
|
||||
./services/ollama
|
||||
./services/printers
|
||||
./services/udev
|
||||
./services/xserver
|
||||
|
|
|
@ -2,6 +2,17 @@
|
|||
# Get up and running with large language models locally.
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
|
||||
# AMD GPU Support
|
||||
acceleration = "rocm";
|
||||
# 5700xt Support
|
||||
rocmOverrideGfx = "10.1.0";
|
||||
|
||||
# Language models to install
|
||||
loadModels = [
|
||||
"deepseek-coder-v2"
|
||||
"llama3"
|
||||
"mannix/llama3.1-8b-abliterated"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
# Enable necessary udev rules.
|
||||
services.udev.packages = with pkgs; [
|
||||
android-udev-rules
|
||||
openrgb
|
||||
qmk-udev-rules
|
||||
];
|
||||
|
|
|
@ -39,13 +39,4 @@
|
|||
{url = "http://127.0.0.1:${toString config.services.wiki-js.settings.port}";}
|
||||
];
|
||||
};
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
directories = [
|
||||
{
|
||||
directory = "/var/lib/private";
|
||||
mode = "0700";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue