summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-09-16 04:53:40 +0200
committerRory& <root@rory.gay>2024-09-16 04:53:40 +0200
commit75acbd85a0741cb39c8ee54a2ba6b00addf7f784 (patch)
tree95f13e0dc2f8ac1d3007c097e47bc0e951cc5520 /host
parentUpdate draupnir, disable e2ee (diff)
downloadRory-Open-Architecture-75acbd85a0741cb39c8ee54a2ba6b00addf7f784.tar.xz
Desktop updates, draupnir-git
Diffstat (limited to 'host')
-rw-r--r--host/Rory-desktop/configuration.nix2
-rwxr-xr-xhost/Rory-desktop/ollama.nix3
-rwxr-xr-xhost/Rory-nginx/services/matrix/draupnir.nix7
3 files changed, 9 insertions, 3 deletions
diff --git a/host/Rory-desktop/configuration.nix b/host/Rory-desktop/configuration.nix

index aa09659..dae5f44 100644 --- a/host/Rory-desktop/configuration.nix +++ b/host/Rory-desktop/configuration.nix
@@ -25,7 +25,7 @@ args@{ ./optional/gui/wayland.nix #./printing.nix -# ./ollama.nix + #./ollama.nix ]; boot = { diff --git a/host/Rory-desktop/ollama.nix b/host/Rory-desktop/ollama.nix
index 7f0ae8c..0670617 100755 --- a/host/Rory-desktop/ollama.nix +++ b/host/Rory-desktop/ollama.nix
@@ -31,7 +31,8 @@ #listenAddress = "0.0.0.0:11434"; host = "0.0.0.0"; port = 11434; - sandbox = false; + user = "ollama"; + group = "ollama"; acceleration = "rocm"; }; } diff --git a/host/Rory-nginx/services/matrix/draupnir.nix b/host/Rory-nginx/services/matrix/draupnir.nix
index f20a7d0..1fd4b08 100755 --- a/host/Rory-nginx/services/matrix/draupnir.nix +++ b/host/Rory-nginx/services/matrix/draupnir.nix
@@ -1,7 +1,12 @@ -{ ... }: +{ pkgs, draupnirSrc, ... }: { services.draupnir = { + package = (pkgs.draupnir.overrideAttrs (oldAttrs: { + src = draupnirSrc; + version = draupnirSrc.rev; + })); + enable = true; homeserverUrl = "https://matrix.rory.gay"; accessTokenFile = "/etc/draupnir-access-token";