Commit graph

8 commits

Author SHA1 Message Date
teutat3s 66e6c685d0
module: Fix missing headers for websockets
Should fix error: invalid origin when using websockets

Adapted from:
70c40e2be0/resources/nginx-template.conf (L49-L50)
2023-07-20 00:11:58 +02:00
teutat3s ceb04d96de
module: fix DNS by adding resolv.conf, ssl dirs to
BindReadOnlyPaths
This should fix temporary name resolution errors observed in erpnext.

Minor cleanup and explanatory comment for confinement.packages

We don't use pkgs from path, but prefer explicitly referring to pkgs
2023-07-18 12:23:09 +02:00
teutat3s 5519e0d6fe
flake: set nixpkgs to nixos-23.05
This change makes the nixos module more compatible with pub-solar/os
2023-07-18 02:30:30 +02:00
teutat3s 9c8a36de8b
module: fix erpnext-web-init script
erpnext-web-init: line 6: install: command not found
2023-07-18 01:54:43 +02:00
teutat3s 9b32753f26
module: fix systemd service dependency
When started before erpnext-web, the scheduler and queues do not start
successfully, because the common_site_config.json is still missing.
We can not schedule or queue anything yet, so starting after erpnext-web
is fine.
This fixes deployment via deploy-rs
2023-07-18 01:26:33 +02:00
teutat3s 446a2b6dea
module: final fixes and cleanup 2023-07-17 21:06:45 +02:00
teutat3s aff559a20e
Manage secrets using agenix 2023-07-15 16:32:18 +02:00
teutat3s 7095204d06
Initial NixOS module 2023-07-09 14:46:22 +02:00