Daniel Olsen
45eea1a791
update flake.lock
2024-05-12 02:22:12 +02:00
Daniel Olsen
dcf29b76b8
bicep/matrix: allow global address of new ildkule to access metrics
2024-04-24 03:03:53 +02:00
Daniel Olsen
ee335e3712
bicep/synapse: fix registering users via smtp
2024-04-14 01:52:17 +02:00
Daniel Olsen
ffbf855f24
update flake for grzegorz
2024-04-12 02:35:49 +02:00
Daniel Olsen
28e7a63d33
update flake lock and remove non-derivations from flake ouput
2024-04-12 00:42:29 +02:00
Daniel Olsen
01f0e63a49
use getExe' to silence errors
2024-04-12 00:41:57 +02:00
danio
ae4ace9fa2
Merge pull request 'treewide: run nginx -t on all nginx config files' ( !32 ) from test-nginx-overlay into main
...
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/32
2024-04-11 23:39:42 +02:00
Daniel Olsen
8c72088d9c
dynamically get configured acme certs for nginx test
2024-04-11 23:29:05 +02:00
Daniel Olsen
0056029da7
treewide: bubblewrap nginx test
2024-04-11 23:28:54 +02:00
Daniel Olsen
9b4fbd847f
treewide: run nginx -t on all nginx config files
2024-04-11 23:28:54 +02:00
Daniel Olsen
db211c2304
bekkalokk/website: don't try to listen for ntnu.org
2024-04-11 05:31:33 +02:00
Daniel Olsen
fe4dd21acb
add eirikwit to sops
2024-03-16 22:38:16 +01:00
Daniel Olsen
0336744124
flake update: matrix module bug fix
2024-03-13 07:41:12 +01:00
Daniel Olsen
b4d6e00622
Update flake.lock to get new matrix module
2024-03-13 06:33:43 +01:00
Daniel Olsen
7c6d4d31c7
bicep/matrix/element: update room directories
2024-03-05 05:52:31 +01:00
Daniel Olsen
9f46be1ca1
bicep/matrix: update element lab flags and room directoriy listings
2024-03-05 05:28:23 +01:00
Daniel Olsen
4ea90380ad
bicep/matrix: use synapse package from stable
...
It's fixed now
2023-12-16 00:22:02 +01:00
Daniel Olsen
bcd5292f78
update flake.lock
2023-12-13 20:02:09 +01:00
danio
9ed2ca8883
Merge pull request 'Update users/jonmro.nix' ( #21 ) from jonmro/pvv-nixos-config:main into main
...
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/21
2023-12-10 05:46:20 +01:00
danio
fe12e5441a
Merge pull request ' 🎉 nixpkgs 23.11' ( #20 ) from upgrade-to-nixpkgs-23-11 into main
...
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/20
2023-12-10 05:43:01 +01:00
Daniel Olsen
2b305678df
update flake.lock
2023-12-10 05:41:45 +01:00
Daniel Olsen
dd8b677a79
buskerud: bootloader - 3.3TB, OS - 256GB 👍
2023-12-10 05:27:58 +01:00
Daniel Olsen
eabd8df3d8
bicep/matrix: use package with fixed pythonEnv
2023-12-10 04:32:26 +01:00
danio
d8031ecca1
Merge pull request 'replace-knakelibrak-nginx-reverse-proxy' ( #18 ) from replace-knakelibrak-nginx-reverse-proxy into main
...
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/18
2023-12-03 07:01:13 +01:00
Daniel Olsen
28e3f5672c
pin matrix-synapse-next module to last one compatible with 23.05
...
When we upgrade we can go back to tracking master
2023-12-02 10:05:27 +01:00
Daniel Olsen and h7x4
1ef033c754
bekkalokk/ingress: proxy matrix well-known files to bicep
2023-11-28 10:24:18 +01:00
Daniel Olsen
2c42b120a6
Merge branch 'extend_smtp'
2023-11-28 08:39:15 +01:00
Daniel Olsen
27ba3f7a7f
bicep/matrix: serve server well-known
2023-11-28 08:36:56 +01:00
Daniel Olsen
c1c58122ea
bicep/matrix: Improve flexibility of username login
...
It should be possible to log in with @username:pvv.ntnu.no now
That way client well-known in third party clients will work
it might also fix the weird logout of session issues in element
2023-11-28 05:14:04 +01:00
Daniel Olsen
d7638138ed
brzeczyszczykiewicz: add bokhylle as alias for the grzegorz service
2023-11-26 02:36:23 +01:00
Daniel Olsen
42c1803c9b
clean up flake input function parameters
...
We dont need thelse seldomly used things in the main function call
2023-11-05 10:54:50 +01:00
Daniel Olsen
c4df999058
bob: init
...
Cool beeg nix builder
for now anyways
2023-11-05 06:06:57 +01:00
Daniel Olsen
b458801f95
Revert "bekkalokk: add wackattack ctf systemd service"
...
CTF is over
This reverts commit fa843c4a59 .
2023-10-30 09:03:27 +01:00
Daniel Olsen
1a683d2a92
shell: add openstack resources
2023-10-30 09:02:09 +01:00
Daniel Olsen
e07945d49c
bicep/matrix: enable sliding sync
2023-10-22 02:33:40 +02:00
Daniel Olsen
32885891fe
bicep/matrix: enable smtp auth
...
yolo lmao
2023-10-22 01:59:25 +02:00
Daniel Olsen
a6196e67fe
workflows/eval: init - evaluate flake in gitea actions
...
Building doesnt work without the sandbox
2023-10-19 23:20:51 +02:00
Daniel Olsen
7a0946fb1c
update flake.lock
2023-10-19 19:55:52 +02:00
Daniel Olsen
05cac3cb93
make packages for each system derivation
...
Makes it easier to test build each machine
also makes nom go brr
2023-10-19 18:40:24 +02:00
Daniel Olsen
b8f6aa2f62
clean up unused packages
2023-10-19 18:38:16 +02:00
Daniel Olsen
9b44087693
bekkalokk/gitea: make import user script run by default
...
Systemd stuff are generally turned on by default but need to be wanted
Much like me
2023-10-14 22:47:56 +02:00
Daniel Olsen
59008d213c
update flake.lock
2023-10-14 22:47:56 +02:00
Daniel Olsen
6fd71598cb
update flake.lock
...
updates the matrix flake to enable sliding sync
2023-09-24 04:42:31 +02:00
Daniel Olsen and danio
be341622fe
georg: init
2023-09-17 04:57:30 +02:00
Daniel Olsen and danio
87a7b17b49
brzeczyszczykiewicz: init
2023-09-17 04:57:30 +02:00
Daniel Olsen
f53c0c6eb5
bicep/synapse: Move database configuration out of secrets
2023-09-16 21:38:39 +02:00
Daniel Olsen
7cd5b42f12
bicep/matrix/synapse: use fewer connections
2023-09-13 11:02:52 +02:00
Daniel Olsen
816997b74f
bicep/nginx: increase workers and enable modern compression
...
Should decrease latency
2023-09-13 11:01:09 +02:00
Daniel Olsen
06322a26fc
bicep/postgres: enable jit again, make more memory available
2023-09-13 05:22:23 +02:00
Daniel Olsen
a58101bfbc
Remove deprecated hosts and clean up
2023-09-13 05:03:57 +02:00
Daniel Olsen
57d1dfd121
flake update
2023-09-13 05:01:18 +02:00
Daniel Olsen
d3b363b028
bicep: Remove deprecated grub version option
2023-09-13 04:54:46 +02:00
Daniel Olsen
4a6ea9be2d
bicep/synapse: define registration secret properly
2023-09-13 04:53:56 +02:00
Daniel Olsen
f92ebbee16
bicep/synapse: use postgres unix socket
2023-09-13 04:16:22 +02:00
Daniel Olsen
201e3d306b
bicep: Revert postgres socket stuff
2023-09-13 03:58:29 +02:00
Daniel Olsen
437219bb68
bicep/postgres: Enable unix socket auth
2023-09-13 00:52:27 +02:00
Daniel Olsen
b5075f48c6
bicep/matrix/synapse: switch database connection to socket
2023-09-13 00:17:10 +02:00
danio
cfcd230678
Merge pull request 'Fix gitea on bekkalokk' ( #7 ) from configure-gitea into main
...
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/7
2023-09-07 18:54:24 +02:00
Daniel Olsen
bfe94003c4
bicep/matrix/discord: enable legacy authorization because old mx-puppet-discord 😭
2023-08-18 00:54:06 +02:00
Daniel Olsen
fa67504275
Update flake inputs
...
Mainly to update the matrix module
2023-07-13 04:36:43 +02:00
Daniel Olsen
699569249a
ildkule: adjust matrix version annotations for nixos matrix module
2023-06-20 14:01:44 +02:00
Daniel Olsen
e73b7d2cd1
ildule: fix upstream dashboard variables
2023-06-20 13:46:00 +02:00
Daniel Olsen
ff30477e86
ildule: Update matrix dashboard from upstream
2023-06-20 13:20:42 +02:00
Daniel Olsen
d694724f5c
bicep/synapse: Set event cache to 20K
...
This is double the cache from default
changed because we're seeing periodic cpu spikes
with this cache beeing the main one missing
2023-05-26 02:22:18 +02:00
Daniel Olsen
68ce7acebb
Revert "bicep: Emergency fix for matrix postgres auth"
...
This reverts commit fdbcd8c884 .
This was not it
2023-05-23 05:12:46 +02:00
Daniel Olsen
fdbcd8c884
bicep: Emergency fix for matrix postgres auth
...
I think
2023-05-23 04:59:34 +02:00
Daniel Olsen
815063744b
bicep/postgres: Remove jit setting
...
The nixos build of postgres doesn't support it anyways
2023-05-23 04:57:18 +02:00
Daniel Olsen
ede76faa79
Document nix flake check
2023-05-23 04:55:14 +02:00
Daniel Olsen
2752c26675
fix nixosConfig override
2023-05-23 04:43:39 +02:00
Daniel Olsen
dfd827ee74
Clean up jokum removal
2023-05-23 04:29:45 +02:00
Daniel Olsen
4ff5da28c4
bicep: nginx listen on bicep ip
2023-05-08 03:38:59 +02:00
Daniel Olsen
ee73a964be
move matrix to bicep
2023-05-08 03:38:59 +02:00
Daniel Olsen
f77a5e946f
bicep: mount /data
2023-04-08 05:23:01 +02:00
Daniel Olsen
bac67ee123
bicep: don't wait for all interfaces and especially not jokums
2023-04-07 04:53:36 +02:00
Daniel Olsen
9f6020b5e7
update flake
2023-04-07 04:12:46 +02:00
Daniel Olsen and Root Bicep
38e3202c9e
Move more of jokum
...
slightly less stupid this time
2023-03-26 14:44:58 +02:00
Daniel Olsen
bddd7e438d
update jokum sops secrets
2023-03-26 13:14:55 +02:00
Daniel Olsen
7620fb3dee
move jokum to nixos bicep
2023-03-26 06:36:04 +02:00
Daniel Olsen
d9c19385fa
synapse: cache more event_auth
2023-03-08 03:18:57 +01:00
Daniel Olsen
28dad93826
open the nixos firewall for node-exporter
2023-03-04 22:47:11 +01:00
Daniel Olsen
70f4777696
fix synapse dashboard
2023-03-04 05:11:40 +01:00
Daniel Olsen
a9d04ed286
Let nodes access their own prometheus metrics
2023-03-04 04:08:46 +01:00
Daniel Olsen
db69d28b42
Revert "metrics: Fix Synapse dashboard"
...
This reverts commit beb8df8fc7 .
2023-03-04 03:14:54 +01:00
Daniel Olsen
8f23d7ba06
jokum: don't use host resolv.conf
2023-03-04 03:04:32 +01:00
Daniel Olsen
e61977e497
Disable dhcp and set domain again
2023-03-04 02:13:00 +01:00
Daniel Olsen
3252a3b5d1
turn on jokum
2023-03-04 02:03:37 +01:00
Daniel Olsen
8e819b5546
fix ip for bekkalokk
2023-03-04 00:57:28 +01:00
Daniel Olsen
6cf831a347
switch to networkd
2023-03-04 00:44:30 +01:00
Daniel Olsen
af955c88f8
jokum: move to systemd-nspawn container on bicep
2023-02-26 19:23:00 +01:00
Daniel Olsen
e293d64e66
flake update
2023-02-13 04:01:09 +01:00
Daniel Olsen
eed3c9b05f
matrix: Point mjolnir directly at synapse so it can use the admin api
2023-02-13 03:42:52 +01:00
Daniel Olsen
7a9759ef71
matrix: Add mjolnir as a moderation bot
2023-02-13 02:34:11 +01:00
Daniel Olsen
4684cd239a
matrix: enable shared secret registration
2023-02-13 00:58:15 +01:00
Daniel Olsen
c0c0dea069
tune worker distribution post fosdem and turning off prescence
2023-02-06 02:11:07 +01:00
Daniel Olsen
9c18a87866
element: disable presence if disabled in synapse
2023-02-02 18:51:47 +01:00
Daniel Olsen
73aa42a5f5
synapse: Disable presence
...
For now at least until we move to a stronger
machine.
Most large servers don't have this enabled.
2023-02-02 18:39:08 +01:00
Daniel Olsen
eade192132
synapse: bump federation receiver count to 3
2023-02-02 00:35:26 +01:00
Daniel Olsen
beb8df8fc7
metrics: Fix Synapse dashboard
...
Some of the panels were set to the wrong
datasource
Additionally since we don't do MAU limits,
I moved the relevant MAU panel to Overview
2023-02-01 22:54:54 +01:00
Daniel Olsen
1a424c79fe
synapse: track monthly active users
2023-02-01 19:42:49 +01:00
Daniel Olsen
ad7961a67b
flake update
2023-02-01 19:35:33 +01:00