Commit Graph

440 Commits

Author SHA1 Message Date
5fb1b805a8 bekkalokk: add snappymail 2024-05-26 01:07:27 +02:00
h7x4
a38a12c429
flake.lock: update pvv-nettsiden 2024-05-19 22:27:59 +02:00
898e362a9f Merge pull request 'bekkalokk/website: add sp metadata for all domains' (!34) from add-sp-metadata-for-all-website-domains into main
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/34
2024-05-14 05:27:44 +02:00
Daniel Olsen
c267820426 overlays/nginx-test: drop 2024-05-13 07:04:00 +02:00
Oystein Kristoffer Tveit
a57b5f07f9 Merge pull request 'gitea: setup mail' (!38) from gitea-setup-mail into main
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/38
2024-05-12 02:27:37 +02:00
h7x4
bcf2ceed32
gitea: setup mail 2024-05-12 02:26:13 +02:00
Daniel Olsen
0a3d1e3696 overlays/nginx-test
just start replacing shit, we're not even testing the actual config now
This sucks
nginx should make a proper validation tool that doesnt do DNS request on every hostname mentioned in the config file.
Not to mention trying to actually listen on the ip-address and port
Why?? Why is TEST failing because it can't bind to the SAME address nginx is probably in production listening on already??
2024-05-12 02:22:12 +02:00
Daniel Olsen
45eea1a791 update flake.lock 2024-05-12 02:22:12 +02:00
Oystein Kristoffer Tveit
200224d2c1 Merge pull request 'bekkalokk: misc gitea cleanup' (!33) from misc-gitea-cleanup into main
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/33
2024-05-12 02:12:55 +02:00
Daniel Olsen
dcf29b76b8 bicep/matrix: allow global address of new ildkule to access metrics 2024-04-24 03:03:53 +02:00
55e8f01d1d Upgrade ildkule (!36)
This PR is made while moving Ildkule from PVE on joshua, to Openstack on stack.it.ntnu.no.

- The main monitoring dashboard is moved from https://ildkule.pvv.ntnu.no to https://grafana.pvv.ntnu.no.
- A new service is added: uptime-kuma on https://uptime.pvv.ntnu.no.
- The (hardware) configuration for ildkule is updated to fit the new virtualization environment, boot loader, network interfaces, etc.
- Metrics exporters on other hosts should be updated to allow connections from the new host

As this is the first proper server running on openstack, and therefore outside our main IP range, we might discover challenges in our network structure. For example, the database servers usually only allow connections from this range, so Ildkule can no longer access it. This should be explored, documented and/or fixed as we move more services.

Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/36
Co-authored-by: Felix Albrigtsen <felix@albrigtsen.it>
Co-committed-by: Felix Albrigtsen <felix@albrigtsen.it>
2024-04-21 23:36:25 +02:00
h7x4
b7b1c73bfa
bekkalokk/gitea: use systemd unit for gitea customization 2024-04-16 01:02:21 +02:00
Oystein Kristoffer Tveit
19d5ddc688 Merge pull request 'bekkalokk: remove keycloak' (!30) from bekkalokk-remove-keycloak into main
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/30
2024-04-15 00:00:17 +02:00
h7x4
6851879a03
bekkalokk: remove keycloak 2024-04-14 23:59:46 +02:00
h7x4
70603145cf
bekkalokk/website: add sp metadata for all domains 2024-04-14 17:06:01 +02:00
1e4195ea9d bekkalokk: pvv-nettsiden-gallery: Improve thumbnail generation 2024-04-14 02:04:45 +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
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
h7x4
5bed292a01
bekkalokk/gitea: move user import stuff to separate nix file 2024-04-11 21:47:44 +02:00
h7x4
36b7087a3f
base.nix: hotfix for hotfix for nginx on bicep (3352e48f)
Turns out the settings were in biceps local nginx config
2024-04-11 20:41:02 +02:00
oysteikt
1919da7a1c bicep/matrix: remove SAML authentication 2024-04-11 19:55:10 +02:00
h7x4
0950fedf98 bekkalokk/website: fix some nginx location directives 2024-04-11 13:21:11 +02:00
h7x4
614c2d624c
bekkalokk/webmail: add redirects for old webmail locations 2024-04-11 10:47:13 +02:00
h7x4
3352e48f47
base.nix: hotfix for nginx on bicep
the matrix-synapse-next module seems to already add some of the nginx
options we set in base.nix, making it fail. These should only be set if
they're not already set by this module
2024-04-11 10:30:14 +02:00
Daniel Olsen
db211c2304 bekkalokk/website: don't try to listen for ntnu.org 2024-04-11 05:31:33 +02:00
Felix Albrigtsen
4f322ec0b1 Merge pull request 'finalize-www-migration' (!31) from finalize-www-migration into main
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/31
2024-04-11 00:57:20 +02:00
79bf307ef2 bekkalokk: Reconfigure www ingress 2024-04-11 00:48:07 +02:00
4d50efc6db Finalize www/idp/webmail migration from spikkjeposche to bekkalokk 2024-04-10 23:31:04 +02:00
Felix Albrigtsen
145a840a2c Merge pull request 'Setup pvv-nettsiden on www2.pvv.ntnu.no' (!27) from www2 into main
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/27
2024-04-10 23:05:37 +02:00
2bbc851e0e Point inputs/nettsiden to master after https://git.pvv.ntnu.no/Projects/nettsiden/pulls/53 2024-04-10 23:04:20 +02:00
h7x4
9577477460 bekkalokk/nettsiden: add secrets 2024-04-10 23:04:20 +02:00
fc19a8f1e1 bekkalokk: Automatically unpack pvv-nettsiden/gallery and generate thumbnails 2024-04-10 23:04:20 +02:00
h7x4
8657e77514 bekkalokk: set up pvv-nettsiden 2024-04-10 23:04:18 +02:00
Felix Albrigtsen
03c9638098 Merge pull request 'treewide: nginx optimizations' (!29) from treewide-nginx-optimizations into main
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/29
2024-04-10 22:54:39 +02:00
h7x4
065992620e treewide: nginx optimizations 2024-04-10 22:06:44 +02:00
Adrian Gunnar Lauterer
e22c7d5b4d added terminfo for foot to adriangl 2024-04-09 20:46:14 +02:00
h7x4
4fcc1fd5e9 flake.lock: update nix-gitea-themes 2024-04-09 20:33:38 +02:00
Oystein Kristoffer Tveit
05a1f049dc Merge pull request 'gitea: add theming module' (!28) from init-gitea-themes into main
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/28
2024-04-09 20:32:29 +02:00
h7x4
fbbc54328b gitea: add theming module 2024-04-09 01:52:57 +02:00
Adrian Gunnar Lauterer
d8e13ff67c Update users/adriangl.nix 2024-04-08 21:21:24 +02:00
h7x4
42fd371c3b
mediawiki: restart phpfpm on updated secrets 2024-04-06 23:57:37 +02:00
Oystein Kristoffer Tveit
f25a4e5c02 Merge pull request 'mediawiki: add VisualEditor' (#26) from mediawiki-add-visual-editor into main
Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/26
2024-04-06 21:19:41 +02:00
h7x4
6e1b06731f bekkalokk: add VisualEditor to mediawiki extensions 2024-04-06 21:09:01 +02:00
h7x4
161ef284be packages: add mediawiki-extensions.VisualEditor 2024-04-06 21:08:32 +02:00