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