summary refs log tree commit diff
path: root/nixos/tests/zammad.nix
diff options
context:
space:
mode:
authorTaeer Bar-Yam <taeer@bar-yam.me>2022-02-16 00:49:51 -0500
committerTaeer Bar-Yam <taeer@bar-yam.me>2022-02-23 10:41:27 -0500
commit75fe105a3d080bc91db9f79d80c56d24e6631592 (patch)
tree4f15e716b3b02cba0c1a89d7d935a8e6f2bc40e7 /nixos/tests/zammad.nix
parentaac7f85483b7ab70adf62f6217bedb5a0b41d9d0 (diff)
downloadnixpkgs-75fe105a3d080bc91db9f79d80c56d24e6631592.tar
nixpkgs-75fe105a3d080bc91db9f79d80c56d24e6631592.tar.gz
nixpkgs-75fe105a3d080bc91db9f79d80c56d24e6631592.tar.bz2
nixpkgs-75fe105a3d080bc91db9f79d80c56d24e6631592.tar.lz
nixpkgs-75fe105a3d080bc91db9f79d80c56d24e6631592.tar.xz
nixpkgs-75fe105a3d080bc91db9f79d80c56d24e6631592.tar.zst
nixpkgs-75fe105a3d080bc91db9f79d80c56d24e6631592.zip
Zammad: more fixes
Diffstat (limited to 'nixos/tests/zammad.nix')
-rw-r--r--nixos/tests/zammad.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/nixos/tests/zammad.nix b/nixos/tests/zammad.nix
index 0125aa3a8da..5849e5bf216 100644
--- a/nixos/tests/zammad.nix
+++ b/nixos/tests/zammad.nix
@@ -1,5 +1,5 @@
-import ../make-test-python.nix (
-  { lib, ... }:
+import ./make-test-python.nix (
+  { lib, pkgs, ... }:
 
     {
       name = "zammad";
@@ -8,6 +8,9 @@ import ../make-test-python.nix (
 
       nodes.machine = {
         services.zammad.enable = true;
+        services.zammad.secretKeyBaseFile = pkgs.writeText "secret" ''
+          52882ef142066e09ab99ce816ba72522e789505caba224a52d750ec7dc872c2c371b2fd19f16b25dfbdd435a4dd46cb3df9f82eb63fafad715056bdfe25740d6
+        '';
       };
 
       testScript = ''