Continued copying configuration over

This commit is contained in:
2025-05-28 17:09:05 -03:00
parent 3c9d9e9529
commit 98fcca1a7a
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# Enable bluetooth
{
pkgs,
lib,
...
}: {
services.ollama = {
enable = true;
environmentVariables = {
OLLAMA_INTEL_GPU = "1";
};
loadModels = [
];
};
systemd.services.ollama.serviceConfig.MemoryDenyWriteExecute = lib.mkForce false;
}

View File

@@ -61,6 +61,7 @@
# The following are for example sake only and are not necessarily required.
#"hosts/common/optional/services/openssh.nix" # allow remote SSH access
"hosts/common/optional/services/bluetooth.nix"
"hosts/common/optional/services/ollama.nix"
"hosts/common/optional/audio.nix" # pipewire and cli controls
"hosts/common/optional/kde.nix"
"hosts/common/optional/sddm.nix"