summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/draupnir.nix
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/Rory-nginx/services/matrix/draupnir.nix
parentUpdate draupnir, disable e2ee (diff)
downloadRory-Open-Architecture-75acbd85a0741cb39c8ee54a2ba6b00addf7f784.tar.xz
Desktop updates, draupnir-git
Diffstat (limited to '')
-rwxr-xr-xhost/Rory-nginx/services/matrix/draupnir.nix7
1 files changed, 6 insertions, 1 deletions
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";