about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorMatt Christ <matt@christ.systems>2024-04-14 09:10:51 -0500
committerMatt Christ <matt@christ.systems>2024-04-16 16:48:41 -0500
commit90e673b1b8e32cd66c7311cb9036a2d2cf32ee4a (patch)
tree6dd4e5b95cdfd7c6e3af1fb31692a08e203ac2f4 /pkgs/servers
parentd3644d8d681f7ffa10c0c1cf4541df0280a8216e (diff)
nixos/freshrss: fix startup when authType = "none"
Prior to this patch, FreshRSS fails to load with an initial
`authType = "none"` setting, instead providing an error:
"Error during context user init!"

To fix this, this patch changes the freshrss-config service to
setup the initial `defaultUser` when `authType = "none"`
is configured.
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/web-apps/freshrss/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/web-apps/freshrss/default.nix b/pkgs/servers/web-apps/freshrss/default.nix
index 639a9a780c626..9cf085f8c2b04 100644
--- a/pkgs/servers/web-apps/freshrss/default.nix
+++ b/pkgs/servers/web-apps/freshrss/default.nix
@@ -17,7 +17,7 @@ stdenvNoCC.mkDerivation rec {
   };
 
   passthru.tests = {
-    inherit (nixosTests) freshrss-sqlite freshrss-pgsql freshrss-http-auth;
+    inherit (nixosTests) freshrss-sqlite freshrss-pgsql freshrss-http-auth freshrss-none-auth;
   };
 
   buildInputs = [ php ];