summary refs log tree commit diff
path: root/nixos/tests/plausible.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/plausible.nix')
-rw-r--r--nixos/tests/plausible.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/tests/plausible.nix b/nixos/tests/plausible.nix
index 45e11f0270e..58c1dd5cf4a 100644
--- a/nixos/tests/plausible.nix
+++ b/nixos/tests/plausible.nix
@@ -8,6 +8,9 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
     virtualisation.memorySize = 4096;
     services.plausible = {
       enable = true;
+      releaseCookiePath = "${pkgs.runCommand "cookie" { } ''
+        ${pkgs.openssl}/bin/openssl rand -base64 64 >"$out"
+      ''}";
       adminUser = {
         email = "admin@example.org";
         passwordFile = "${pkgs.writeText "pwd" "foobar"}";