Continued copying configuration over
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#simplified_ui = true;
|
||||
pane_frames = false;
|
||||
copy_on_select = false;
|
||||
show_startup_tips = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
16
hosts/common/optional/services/ollama.nix
Normal file
16
hosts/common/optional/services/ollama.nix
Normal 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;
|
||||
}
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user