about summary refs log tree commit diff
path: root/nixos/tests/mattermost.nix
diff options
context:
space:
mode:
authorMorgan Jones <me@numin.it>2021-04-17 20:46:24 -0600
committerRaphael Megzari <raphael@megzari.com>2021-12-31 23:49:00 -0500
commit73fc80e0d7f84d3354137fd26bcb5fd861b2bbaf (patch)
tree002cd2f76a6d222cf791bda0c4a3e0251883e6ac /nixos/tests/mattermost.nix
parent174b3404063c5821a1852435a0113a792beb7bb4 (diff)
nixos/mattermost: Support declarative Mattermost plugins
Diffstat (limited to 'nixos/tests/mattermost.nix')
-rw-r--r--nixos/tests/mattermost.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/tests/mattermost.nix b/nixos/tests/mattermost.nix
index 116d15e1315eb..49b418d9fff74 100644
--- a/nixos/tests/mattermost.nix
+++ b/nixos/tests/mattermost.nix
@@ -37,6 +37,14 @@ in
     mostlyMutable = makeMattermost {
       mutableConfig = true;
       preferNixConfig = true;
+      plugins = let
+        mattermostDemoPlugin = pkgs.fetchurl {
+          url = "https://github.com/mattermost/mattermost-plugin-demo/releases/download/v0.9.0/com.mattermost.demo-plugin-0.9.0.tar.gz";
+          sha256 = "1h4qi34gcxcx63z8wiqcf2aaywmvv8lys5g8gvsk13kkqhlmag25";
+        };
+      in [
+        mattermostDemoPlugin
+      ];
     };
     immutable = makeMattermost {
       mutableConfig = false;