1
0
Fork 0
Commit graph

305 commits

Author SHA1 Message Date
ibizaman
047b320b63 rely on longer lived identifier for disks
Usually it's a bad idea, but here the disk uuids are actually changing more often as we rebuild the
VM.
2023-12-09 20:25:20 -08:00
ibizaman
e70c110e8d avoid needing to accept the VM's host key 2023-12-09 20:25:20 -08:00
ibizaman
ef0c3fe97b avoid disk space issue in /boot 2023-12-09 20:25:20 -08:00
ibizaman
02ecb143d8 add more info in the readme 2023-12-09 20:25:20 -08:00
ibizaman
d7aaf13032 move deployment options back to flake.nix for demo 2023-12-09 20:25:20 -08:00
ibizaman
da2e1ff0e1 fix storage creation in homeassistant on first run 2023-12-09 10:34:21 -08:00
ibizaman
ca2f7039cc add some sections to block backup chapter 2023-12-08 22:48:06 -08:00
ibizaman
b5f8a87c86 fix link to manual 2023-12-08 11:59:52 -08:00
ibizaman
4df74c2ee7 link to manual from readme 2023-12-08 11:56:28 -08:00
ibizaman
11ab7c5ab5 fix missing headers 2023-12-08 11:52:00 -08:00
ibizaman
7e45ba887a add job to test building documentation in pull requests 2023-12-08 11:52:00 -08:00
ibizaman
49913ca4b6 add manual page for configuring backups 2023-12-08 11:52:00 -08:00
ibizaman
46f7a8921c rephrase readme intro to explain better what SHB intends to be 2023-12-08 11:42:20 -08:00
ibizaman
3c9f71da0e allow to stagger backup jobs 2023-12-08 11:13:37 -08:00
ibizaman
c2ac071c72 enable setting performance impact of backup jobs 2023-12-08 11:13:37 -08:00
ibizaman
207b2e44cb split backup configuration into smaller chunks 2023-12-08 11:13:37 -08:00
ibizaman
750621e1ef use callpackage to simplify imports 2023-12-08 11:13:37 -08:00
ibizaman
f417372fdc move monitoring docs close to source 2023-12-08 10:41:15 -08:00
ibizaman
25462c657e patch for media files not needed anymore after switching to chapters 2023-12-07 10:59:33 -08:00
ibizaman
a755529879 add homeassistant demo document to manual 2023-12-07 10:08:11 -08:00
ibizaman
5a3e072f34 use chapters instead of parts to allow sub-headings 2023-12-07 10:08:11 -08:00
ibizaman
13b756b09c fix static files link
Before, the links in <head> were pointing to the /nix/store path.
2023-12-04 00:45:03 -08:00
ibizaman
ae98a1d6e5 add instructions on how to push test results for CI 2023-12-04 00:42:29 -08:00
Pierre Penninckx
a63b0a6e2e
switch to nixos-render-docs (#34)
fixes #33
2023-12-04 00:33:16 -08:00
ibizaman
0242ae26c4 fix ensure clauses in postgresql
fixes #35
2023-12-04 00:29:40 -08:00
ibizaman
13a90f1ad4 avoid testing nix store path hash which makes tests brittle 2023-12-04 00:27:30 -08:00
ibizaman
5f4ea7acfb wait for open port in all tests to reduce flakiness 2023-12-04 00:18:19 -08:00
ibizaman
66398fe159 use nix-fast-builds in CI 2023-12-04 00:01:25 -08:00
Pierre Penninckx
0014e5c2f7
avoid some impossible states in authelia and nginx 2023-11-30 22:49:34 -08:00
Pierre Penninckx
76e27ae7eb
add nixos test for ldap 2023-11-30 22:08:38 -08:00
ibizaman
039f1cca22 run tests on main too 2023-11-30 13:15:00 -08:00
ibizaman
1b61aa6ebb switch to original nmd repo and fix declared by link 2023-11-30 13:14:01 -08:00
ibizaman
4960034d52 fix documentation links to source code 2023-11-30 12:53:16 -08:00
Pierre Penninckx
0ae7220c06
rename oidcEndpoint option to authEndpoint 2023-11-30 12:48:57 -08:00
Pierre Penninckx
54ce26efce
some docs revamps 2023-11-30 12:06:41 -08:00
ibizaman
59df934222 make path name for docs all lower case 2023-11-30 10:40:11 -08:00
Pierre Penninckx
4a8a7d686c
build docs and deploy to github pages 2023-11-30 10:38:35 -08:00
Pierre Penninckx
86e86dc787
remove usage of sops file in ssl.nix 2023-11-29 22:20:21 -08:00
Pierre Penninckx
7d9dedb845
provision grafana datasources and some dashboards (#23)
fixes #22 

This commit introduces:
- A few more optional options for the monitoring module, in particular
an SMTP option to setup sending alerts with an STMP server.
- 2 required options for adding a secure key for signing and for an
initial admin password. The latter is nice because at least you can
choose securely the initial admin password instead of it being just
"admin", adding a bit more security to the install process.
- Provisioning Grafana with dashboards, datasources, alerts, contact
points and notification policies.
- Documentation for monitoring in
[docs/blocks/monitoring.md](docs/blocks/monitoring.md).
- A NixOS test that makes sure provisioning did go well as expected.
2023-11-26 09:56:08 -08:00
ibizaman
d3a507d33c only trigger github action on pull request 2023-11-24 20:20:28 -08:00
ibizaman
881af5f111 add more collectors to prometheus node exporter 2023-11-24 20:18:12 -08:00
ibizaman
aa3448cb1f fix postgres module tests 2023-11-24 18:19:22 -08:00
ibizaman
845017103f automatically cleanup idle connections
This is to fix a nextcloud bug that leaves idle connections open which eats into the available
postgres connection pool.
2023-11-24 02:16:49 -08:00
ibizaman
4da060986a fix nextcloud to properly disable debug 2023-11-24 02:16:36 -08:00
ibizaman
4533763553 add tip to speed up CI 2023-11-23 01:09:57 -08:00
Pierre Penninckx
52b9233a6c
add postgresql vm test that runs in CI (#19)
Fixes #14 

The tests actually showed a flaw in the implementation, we needed
"password" and not "trust" in the auth file.

Also, having the port defined at the same time as enabling listening for
TCP/IP connection made no sense.
2023-11-23 01:03:33 -08:00
Pierre Penninckx
9e46d93e08
add paragraph about upstream contribution 2023-11-22 08:43:56 -08:00
Pierre Penninckx
4b9e0ad173
group tests by type 2023-11-21 22:18:48 -08:00
Pierre Penninckx
805b008c79
add community section 2023-11-21 12:48:03 -08:00
Pierre Penninckx
48eb64043b
enhance nextcloud options a bit 2023-11-20 22:29:00 -08:00