diff options
author | Taeer Bar-Yam <taeer@bar-yam.me> | 2022-02-16 00:49:51 -0500 |
---|---|---|
committer | Taeer Bar-Yam <taeer@bar-yam.me> | 2022-02-23 10:41:27 -0500 |
commit | 75fe105a3d080bc91db9f79d80c56d24e6631592 (patch) | |
tree | 4f15e716b3b02cba0c1a89d7d935a8e6f2bc40e7 /nixos/tests | |
parent | aac7f85483b7ab70adf62f6217bedb5a0b41d9d0 (diff) | |
download | nixlib-75fe105a3d080bc91db9f79d80c56d24e6631592.tar nixlib-75fe105a3d080bc91db9f79d80c56d24e6631592.tar.gz nixlib-75fe105a3d080bc91db9f79d80c56d24e6631592.tar.bz2 nixlib-75fe105a3d080bc91db9f79d80c56d24e6631592.tar.lz nixlib-75fe105a3d080bc91db9f79d80c56d24e6631592.tar.xz nixlib-75fe105a3d080bc91db9f79d80c56d24e6631592.tar.zst nixlib-75fe105a3d080bc91db9f79d80c56d24e6631592.zip |
Zammad: more fixes
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/all-tests.nix | 2 | ||||
-rw-r--r-- | nixos/tests/zammad.nix | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index d348c2b0e91f..fd5cabe2153b 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -571,7 +571,7 @@ in xxh = handleTest ./xxh.nix {}; yabar = handleTest ./yabar.nix {}; yggdrasil = handleTest ./yggdrasil.nix {}; - zammad = handleTest ./zammad {}; + zammad = handleTest ./zammad.nix {}; zfs = handleTest ./zfs.nix {}; zigbee2mqtt = handleTest ./zigbee2mqtt.nix {}; zoneminder = handleTest ./zoneminder.nix {}; diff --git a/nixos/tests/zammad.nix b/nixos/tests/zammad.nix index 0125aa3a8da9..5849e5bf2163 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 = '' |