Commit Graph

91 Commits

Author SHA1 Message Date
oysteikt 9ebc947eab ustetind: bai bai 👋 2026-05-22 15:41:28 +09:00
oysteikt 8b483a92f8 ildkule: set fsType for bindmounts 2026-05-21 17:52:47 +09:00
felixalb 69fdf709d7 grr: fix the heccin quotes 2026-05-19 16:38:34 +02:00
adriangl 30ec70fa5f fix: ildkule grub duplicated devices, format nix files 2026-05-19 16:26:36 +02:00
adriangl 1024b428ac feat: ildkule disco config 2026-05-19 12:16:39 +02:00
adriangl 1e6b692fbf fix: updated ildkule config and ips to match trd1 new setup 2026-05-19 11:37:05 +02:00
danio ebd8b871f4 skrott: yeetus deletus 2026-05-08 01:08:48 +02:00
oysteikt c3ce6a40ea ildkule/grafana: update a bunch of dashboards 2026-01-31 01:07:26 +09:00
oysteikt beee0ddc75 ildkule/grafana: remove dashboard for gogs 2026-01-31 00:58:34 +09:00
oysteikt c28fc3f229 ildkule/prometheus: add temmie,gluttony, re-enable lupine-2 2026-01-26 17:04:55 +09:00
oysteikt c124183d95 ildkule/prometheus: scrape skrott 2026-01-26 17:04:52 +09:00
oysteikt 1d47409d96 base: configure sops 2026-01-22 16:48:59 +09:00
oysteikt 5f94345a91 hosts/various: enable qemu guest agent, disable smartd for vms by default 2026-01-22 16:05:36 +09:00
oysteikt 28baf322ce hosts/various: formatting, add consistent warnings to stateVersion 2026-01-22 15:57:12 +09:00
oysteikt 12477aeb34 flake.nix: set default hostname for most nixos hosts 2026-01-22 15:49:50 +09:00
oysteikt 89ea5b321a hosts/various: use systemd-boot as default bootloader 2026-01-22 15:49:50 +09:00
felixalb 6b5c12a4b8 Merge pull request 'Fix the heccin quotes - mikrobel 2026' (!120) from fix-quotes into main
Reviewed-on: Drift/pvv-nixos-config#120
Reviewed-by: Oystein Kristoffer Tveit <oysteikt@pvv.ntnu.no>
2026-01-20 09:43:33 +01:00
oysteikt 633efc1a7d ildkule: unbreak eval 2026-01-20 17:12:25 +09:00
felixalb 14e2ed7e32 Fix the heccin quotes 2026-01-19 21:09:41 +01:00
oysteikt e72fb76fff ildkule/journald-remote: move LoadCredential to correct unit 2026-01-15 18:37:44 +09:00
oysteikt 024dae4226 journald-{remote,upload}: init 2026-01-15 15:50:49 +09:00
oysteikt 16891ff521 misc/metrics-exporters: move to base 2025-12-30 00:32:25 +09:00
oysteikt bd4b8c876f ildkule/prometheus/mysqld: use service cname 2025-12-22 10:37:26 +09:00
danio df5557698f ildkule: scrape the nixos-flake exporters 2025-10-12 06:09:15 +02:00
oysteikt 0600fce2ca ildkule/prometheus/exim: init 2025-08-03 02:21:04 +02:00
oysteikt f5fed06381 ildkule/prometheus/machines: add lupine-{1,3,4,5} + wenche 2025-08-03 02:21:02 +02:00
oysteikt 579ed180a3 ildkule/prometheus: add utility function 2025-08-03 02:20:58 +02:00
oysteikt b7fca76ea5 ildkule/mysqld_exporter: use nix-sops template for config 2025-03-16 21:09:12 +01:00
oysteikt 32a529e60f ildkule/prometheus: reenable mysqld exporter 2025-03-16 20:57:26 +01:00
oysteikt 493ab057f4 ildkule/grafana: fix gitea dashboard typo 2025-03-16 20:42:52 +01:00
oysteikt 5c32798dcf ildkule/prometheus: add kommode and ustetind to machine list 2025-03-16 20:20:40 +01:00
danio 3bdfb4c297 Add function to make paths from flake root
No more ../../../../../../
2024-11-17 00:08:02 +01:00
felixalb 2d52ebce52 Ildkule: hardware-config: use UUIDs 2024-11-09 21:42:44 +01:00
felixalb 11f6ef0572 Ildkule: Move monitoring state directories to data volume 2024-11-09 15:21:12 +01:00
felixalb 0f77a42e34 Grafana: Add Gitea Dashbaord [sic] 2024-09-14 20:28:35 +02:00
felixalb c64d28fc26 Prometheus: Monitor gitea metrics 2024-09-14 20:21:12 +02:00
danio 47d7b88a05 ildkule/prometheus: consolidate scrape jobs and label with hostname for base info 2024-09-05 14:14:28 +02:00
felixalb ca287b95c9 Ildkule/openstack: fix networking
Removes systemd-networkd, and configures proper ipv4 and ipv6 in
openstack.
2024-09-05 00:24:22 +02:00
danio 669733309b ildkule: get systemd stats from more machines 2024-09-03 13:10:36 +02:00
danio 4ed12573ff ildkule: fix system activation by disabling smartd 2024-09-03 13:07:58 +02:00
danio b4c602e31c metrics: install systemd exporter 2024-09-02 23:12:24 +02:00
oysteikt 8610a59f35 base.nix: split into multiple files 2024-08-31 22:28:17 +02:00
pederbs 9dbf5d56f5 fix whitespacing issues 2024-08-04 04:37:23 +02:00
pederbs 1714681532 statix fix 2024-08-04 01:46:00 +02:00
felixalb 2030d4de39 fix-openstack-networking (!47)
Fix networking in Openstack.

This rewrites the systemd-networkd config, fixing both dhcp and manual address/route configurations.
Now, everything should behave predictably, routing NTNU-internal and NTNU-global addresses separately and properly across both ipv4 and ipv6.

Reviewed-on: Drift/pvv-nixos-config#47
2024-07-31 11:23:00 +02:00
felixalb ca2deed668 WIP: all: Update to nixos-24.05 2024-06-30 01:55:25 +02:00
felixalb 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: Drift/pvv-nixos-config#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
oysteikt 065992620e treewide: nginx optimizations 2024-04-10 22:06:44 +02:00
oysteikt 3caa66fb64 rename input: unstable -> nixpkgs-unstable 2023-11-05 01:22:48 +01:00
oysteikt 34a16149f8 ildkule: add config for prometheus_mysqld_exporter
There's a PR waiting to add this module to nixpkgs,
so we should enable this once it gets merged.
2023-07-10 00:06:27 +02:00