Commit Graph
90 Commits
Author SHA1 Message Date
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
Daniel Olsenandh7x4 e7786fee0c add felix to jokum secrets 2023-01-22 00:47:23 +01:00
Daniel Olsen 94fc936251 ildkule: use ip addressess from values.nix 2023-01-21 11:45:05 +01:00
Daniel Olsen 1a0880086a metrics: use matrix-lib to simplify generation of prometheus scrape config 2023-01-20 08:24:02 +01:00
Daniel Olsen efed13c810 Revert "metrics: stop parsing prometheus labels from url"
This reverts commit 1524b6b10c.

Prometheus doesn't allow scraping from uris only socketAddresses
The relabeling is to change the internal labels to trick it to read
from a url
2023-01-20 05:04:16 +01:00
Daniel Olsen 90e924c083 synapse: also generate metric config for the master node 2023-01-18 04:04:42 +01:00
Daniel Olsen e590e54862 metrics-exporters: Include loglevel as label 2023-01-17 19:25:41 +01:00
Daniel Olsen 1330c9575f metrics/dashboards/synapse: update default timeframe 2023-01-17 18:57:32 +01:00
danioandGogs 4a82d22a56 Merge branch 'jokum_logs' of Drift/pvv-nixos-config into main 2023-01-17 18:50:41 +01:00
Daniel Olsen 64d0253aa0 I dont think the nginx config verifier has caught a single configuration error ever 2023-01-17 18:47:08 +01:00
Daniel Olsen a5bbd65757 disable ipv6 privacyExtension by default 2023-01-17 18:24:58 +01:00
Daniel Olsen 1ea40456a5 add ipv6 to allowed ip addresses for metrics exporters 2023-01-17 18:23:42 +01:00
Daniel Olsen 524bbdb78b ildkule/dashboard/synapse: Make zooming out on the cpu graph aggregate max cpu instead of avg 2023-01-17 17:37:44 +01:00
Daniel Olsen 473170cc41 update deployment command to invalidate cache
I had fixed the issue but since it was resuing the broken commit it didnt actually get deployed
2023-01-17 17:28:50 +01:00
Daniel Olsen 99fed59f1a update flake and point to right matrix-synapse-next branch 2023-01-17 17:28:50 +01:00
Daniel Olsen 5b798b2f1d jokum: enable metric exporters 2023-01-17 17:28:47 +01:00
Daniel Olsen 96b6dee404 Add firewalling to metric exporters 2023-01-17 17:28:11 +01:00
Daniel Olsen e4cb215d39 Simplify networking configs
Introduces values.nix, a place to store information relevant across systems
2023-01-17 17:28:11 +01:00
Daniel Olsen d52a7295b5 sops: shamir secret setting does nothing 2022-12-18 10:58:00 +01:00
Daniel Olsen 57ff1fa17a Add oysteikt to secrets 2022-12-18 00:05:26 +01:00
danioandGogs 4de4f9b8f6 Merge branch 'add-ildkule' of Drift/pvv-nixos-config into main
looks good
2022-12-17 22:01:05 +01:00
Daniel Olsen 44f2b6d8d8 fed-sender2 metrics 2022-12-14 10:26:28 +01:00
Daniel Olsen 154e12e609 add another federation sender as one is being maxed out 2022-12-14 10:25:29 +01:00
Daniel Olsen 8a3219e8d1 user directory worker 2022-12-14 10:15:37 +01:00
Daniel Olsen 911ce4057a event-persist metrics 2022-12-14 09:19:13 +01:00
Daniel Olsen 72eab1d2aa add an event persister worker 2022-12-14 09:16:43 +01:00
Daniel Olsen 0de6885a8b update flakes 2022-12-14 08:57:59 +01:00
Daniel Olsen bf899f52ce update flakes 2022-12-14 08:45:19 +01:00
Daniel Olsen 553e0dded2 update flakes 2022-12-14 08:34:42 +01:00
Daniel Olsen a3d4fa9cca update flakes 2022-12-14 07:46:58 +01:00
Daniel Olsen a6b4606e21 update flakes 2022-12-13 07:37:24 +01:00
Daniel Olsen ea4fe98055 point discord bridge at the public url again
It was fetching avatars from 127.0.0.1
2022-12-12 16:05:50 +01:00
Daniel Olsen 8c6b73129b move services to be host specific 2022-12-12 15:54:47 +01:00
Daniel Olsen c5dd4a9fde make nginx listen on 127.0.0.2 and loopback ipv6 as well 2022-12-12 15:39:02 +01:00
Daniel Olsen c0a2ee7ab0 point discord bridge at the main synapse listener 2022-12-12 14:26:08 +01:00
Daniel Olsen 423b0fb29b switch to systemd-resolved and add domains to search for fqdns from hostnames 2022-12-10 10:17:27 +01:00
Daniel Olsen 71be92b790 inital sync metrics 2022-12-10 08:51:36 +01:00
Daniel Olsen ac1ab8138e update flakes 2022-12-10 08:31:00 +01:00
Daniel Olsen 26d77aed81 update flakes 2022-12-10 06:38:31 +01:00
Daniel Olsen d3da8933bb services/synapse: expose room directory over federation 2022-12-09 15:58:40 +01:00
Daniel Olsen 5528a253b4 services/element: make room directory dropdown actually contain the right servers 2022-12-09 13:34:54 +01:00
Daniel Olsen 940c42559d services/element: Add omegavs matrix server to the room exploration dropdown menu 2022-12-09 13:25:01 +01:00
Daniel Olsen 0d48059bb9 fix and implement sync workers 2022-12-09 10:53:49 +01:00
Daniel Olsen 24e0f3ae32 update flakes (sync workers!!) 2022-12-09 10:11:13 +01:00
Daniel Olsen 46587be3be base: nix-gc delete generations older than 2d 2022-12-09 06:38:15 +01:00
Daniel Olsen 8b73e54beb Add signing key to secrets
Less state to manage is always good
2022-12-09 06:24:28 +01:00
Daniel Olsen 6fad2c7854 lock nix-path and local flake registry to sytem nixpkgs 2022-12-09 05:25:07 +01:00
Daniel Olsen 3720b9d20d update flake.lock 2022-12-09 04:52:44 +01:00
Daniel Olsen 2326b75e6e initial readme 2022-12-09 04:14:21 +01:00
Daniel Olsen 9cede1ede2 Add devShell including sops 2022-12-09 03:43:14 +01:00
Daniel Olsen dad210a122 base: autoUpgrade - simplify flake url, add unstable to upgraded inputs 2022-12-09 03:21:18 +01:00
Daniel Løvbrøtte OlsenandSystem administrator 57d526f0b2 base: fix autoUpgrade
autoupgrade now pulls from the remote git repo
but overrides the nixpkgs input with a newer version
2022-12-09 02:55:18 +01:00
Daniel Løvbrøtte OlsenandSystem administrator 121dcd8ab2 Initialize flake 2022-12-07 22:13:28 +01:00
Daniel OlsenandSystem administrator 4a9efb0d5c Finally comitting matrix-configuration now that we have secret-management 2022-12-07 10:16:15 +01:00
Daniel OlsenandSystem administrator 3ed65c6cfa Add sops for secret management 2022-12-07 10:16:07 +01:00
Daniel OlsenandSystem administrator e6878aa716 Remove neovim from system packages 2022-12-07 10:06:12 +01:00
Daniel OlsenandSystem administrator cf219a871c Enable flakes 2022-12-07 10:04:33 +01:00
Daniel Olsen 9136cff4bf Add danio to drift 2022-04-02 01:52:13 +02:00
danioandSystem administrator fe91e38a87 base: auto-upgrade 2022-04-02 00:57:53 +02:00
danioandSystem administrator 7753de6c2b Add chat.pvv.ntnu.no service for hosted element 2022-01-22 21:42:57 +01:00
danioandSystem administrator b116c3a56e Fix saml login! :D 2022-01-22 21:10:17 +01:00
danioandSystem administrator 7645a19dcf Pin minecraft server to 1.18.1 2021-12-30 04:04:58 +01:00
danioandSystem administrator 3911b91b47 greddost: install mcrcon 2021-12-30 03:51:01 +01:00
danioandSystem administrator fa8420a337 move real minecraft server to greddost from innovation 2021-12-29 04:09:09 +01:00
danioandSystem administrator 3ceb155cd6 Update minecraft configuration to fit the original config from innovation 2021-12-20 03:07:32 +01:00
danioandSystem administrator 254e9934ad greddost: static ip 2021-12-20 03:06:55 +01:00
danioandSystem administrator 7c8e9e0b93 FAST MINECRAFT SØRVER 2021-12-19 03:21:30 +01:00
danioandSystem administrator 8910e4b8a2 Make jokum use base.nix 2021-12-18 22:24:22 +01:00
danioandSystem administrator cae766b85f Split common options into base 2021-12-18 22:09:16 +01:00
danioandSystem administrator 70aa493f43 Add danio user 2021-12-18 22:04:28 +01:00
danioandSystem administrator 726efc44e7 Add configuration.nix to gitignore 2021-12-17 09:11:44 +01:00
danioandSystem administrator 458aac92ce no configuration.nix symlinks 2021-12-17 09:10:42 +01:00