Loading nixos/modules/services/web-apps/lemmy.nix +1 −1 Original line number Diff line number Diff line Loading @@ -202,7 +202,7 @@ in environment = { LEMMY_CONFIG_LOCATION = "${settingsFormat.generate "config.hjson" cfg.settings}"; LEMMY_DATABASE_URL = mkIf (cfg.database.uri != null) cfg.database.uri; LEMMY_DATABASE_URL = if cfg.database.uri != null then cfg.database.uri else (mkIf (cfg.database.createLocally) "postgres:///lemmy?host=/run/postgresql&user=lemmy"); }; documentation = [ Loading Loading
nixos/modules/services/web-apps/lemmy.nix +1 −1 Original line number Diff line number Diff line Loading @@ -202,7 +202,7 @@ in environment = { LEMMY_CONFIG_LOCATION = "${settingsFormat.generate "config.hjson" cfg.settings}"; LEMMY_DATABASE_URL = mkIf (cfg.database.uri != null) cfg.database.uri; LEMMY_DATABASE_URL = if cfg.database.uri != null then cfg.database.uri else (mkIf (cfg.database.createLocally) "postgres:///lemmy?host=/run/postgresql&user=lemmy"); }; documentation = [ Loading