Compare commits

...

3 commits

Author SHA1 Message Date
♥ Minnie ♥ 93f49e3227
install android rules 2024-12-21 21:56:57 +08:00
♥ Minnie ♥ a93435fede
install ollama 2024-12-21 21:56:12 +08:00
♥ Minnie ♥ 2e37cefe3e
persist /var/private globally 2024-12-21 21:55:23 +08:00
5 changed files with 19 additions and 9 deletions

View file

@ -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"

View file

@ -14,6 +14,7 @@
./services/amdgpu-clocks
./services/flatpak
./services/libinput
./services/ollama
./services/printers
./services/udev
./services/xserver

View file

@ -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"
];
};
}

View file

@ -1,6 +1,7 @@
{pkgs, ...}: {
# Enable necessary udev rules.
services.udev.packages = with pkgs; [
android-udev-rules
openrgb
qmk-udev-rules
];

View file

@ -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";
}
];
};
}