Compare commits

..

No commits in common. "8d647a598ec7d3cea0de4b28f59732978a11926c" and "6d0f0dbb02ad8e809d973d73884bc7f305c22e74" have entirely different histories.

4 changed files with 29 additions and 13 deletions

View file

@ -53,9 +53,18 @@ in
enableNginx = false; enableNginx = false;
redis.createLocally = true; redis.createLocally = true;
postgresql.createLocally = true; postgresql.createLocally = true;
frontendPackage = pkgs.lasuite-docs-frontend.overrideAttrs { backendPackage =
inputs.nixpkgs-master.legacyPackages.${pkgs.stdenv.hostPlatform.system}.lasuite-docs.overrideAttrs
(old: {
patches = (old.patches or [ ]) ++ [ ./enable-languages.patch ];
});
frontendPackage =
inputs.nixpkgs-master.legacyPackages.${pkgs.stdenv.hostPlatform.system}.lasuite-docs-frontend.overrideAttrs
{
NEXT_PUBLIC_PUBLISH_AS_MIT = "false"; NEXT_PUBLIC_PUBLISH_AS_MIT = "false";
}; };
collaborationServer.package =
inputs.nixpkgs-master.legacyPackages.${pkgs.stdenv.hostPlatform.system}.lasuite-docs-collaboration-server;
bind = "unix:${socket}"; bind = "unix:${socket}";
inherit s3Url domain; inherit s3Url domain;
@ -74,7 +83,6 @@ in
MEDIA_BASE_URL = "https://${domain}"; MEDIA_BASE_URL = "https://${domain}";
DJANGO_ALLOWED_HOSTS = domain; DJANGO_ALLOWED_HOSTS = domain;
DJANGO_LANGUAGES = "en-us,English;fr-fr,Français;nl-nl,Nederlands;es-es,Español;uk-ua,Українська;ru-ru,Русский";
}; };
environmentFile = config.age.secrets."lasuiteSecrets.age".path; environmentFile = config.age.secrets."lasuiteSecrets.age".path;

View file

@ -0,0 +1,13 @@
diff --git a/src/backend/impress/settings.py b/src/backend/impress/settings.py
index 9059dd29..010cc524 100755
--- a/impress/settings.py
+++ b/impress/settings.py
@@ -248,6 +248,9 @@ class Base(Configuration):
("de-de", "Deutsch"),
("nl-nl", "Nederlands"),
("es-es", "Español"),
+ ("br-fr", "Brezhoneg"),
+ ("uk-ua", "Українська"),
+ ("ru-ru", "Русский"),
)
)

View file

@ -8,7 +8,6 @@
address = [ address = [
"91.99.155.129/32" "91.99.155.129/32"
"2a01:4f8:c012:d202::1/64"
] ]
# Assign 64 IPv6 addresses # Assign 64 IPv6 addresses
++ builtins.genList (i: "2a01:4f8:c012:d202::${builtins.toString (i + 1)}/64") 64; ++ builtins.genList (i: "2a01:4f8:c012:d202::${builtins.toString (i + 1)}/64") 64;

View file

@ -1,4 +1,4 @@
{ lib, config, ... }: { lib, ... }:
{ {
services = services =
let let
@ -12,7 +12,8 @@
let let
enginesByCategory = { enginesByCategory = {
general = { general = {
brave.disabled = false; duckduckgo = { };
startpage = { };
}; };
"social media" = { "social media" = {
@ -64,7 +65,7 @@
{ {
general = { general = {
instance_name = "Federated Nexus Search"; instance_name = "Federated Nexus Search";
contact_url = "mailto:info@federated.nexus"; contact_url = "mailto:henry@henryhiles.com";
}; };
search = { search = {
@ -90,11 +91,6 @@
"searx.plugins.tracker_url_remover.SXNGPlugin".active = true; "searx.plugins.tracker_url_remover.SXNGPlugin".active = true;
}; };
outgoing = {
source_ips = config.systemd.network.networks."30-wan".address;
retries = 32;
};
categories_as_tabs = builtins.listToAttrs ( categories_as_tabs = builtins.listToAttrs (
map (category: { map (category: {
name = category; name = category;