Commit graph

9 commits

Author SHA1 Message Date
dish 970dcca69c
treewide: Fix links in module documentation 2025-08-25 12:55:11 -04:00
Wolfgang Walther 5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Maximilian Bosch 4005a14f8f
nixos/lasuite-docs: perform migrations after generating secret key
When generating the key inside the module rather than specifying a
hard-coded one, you'd get an error like this otherwise

    Jul 15 16:02:53 nixos systemd[1]: Starting Docs from SuiteNumérique...
    [...]
    Jul 15 16:02:54 nixos lasuite-docs-pre-start[19466]: ValueError: Couldn't setup configuration 'impress.settings.Production':  Path '/var/lib/lasuite-docs/django_secret_key' does not exist.
2025-07-15 18:23:14 +02:00
Wolfgang Walther 41c5662cbe
nixos/postgresql: move postStart into separate unit
This avoids restarting the postgresql server, when only ensureDatabases
or ensureUsers have been changed. It will also allow to properly wait
for recovery to finish later.

To wait for "postgresql is ready" in other services, we now provide a
postgresql.target.

Resolves #400018

Co-authored-by: Marcel <me@m4rc3l.de>
2025-06-24 15:26:47 +02:00
Yureka f7a8cfb119
nixos/lasuite-docs: Set collaboration server allowed origins (#413190)
Without this, the collaboration server closes the websocket connection
and activity within the doc is not synchronized.
2025-06-07 15:38:27 +02:00
Martin Weinelt d5bbb50acc
nixos/lasuite-docs: fix media proxying (#412732) 2025-06-02 21:22:37 +02:00
networkException 0b360e9328
nixos/lasuite-docs: use systemd bind mount instead of stateful symlink for static directory 2025-06-02 19:51:42 +02:00
Puck Meerburg 39fe05dec0 nixos/lasuite-docs: fix media proxying 2025-05-31 18:02:44 +00:00
soyouzpanda f3120f0710
nixos/lasuite-docs: init 2025-05-24 18:27:39 +02:00