Commit Graph

100 Commits

Author SHA1 Message Date
felixalb 0491df32f7 Init bakke (!87)
New backup server just dropped!
This server is awfully slow, and the mdraid setup is awfully slow, and I doubt that this will be a good experience, but we now have a backup server again?

- Tried Disko and nixos-anywhere
- Tried using mdraid
- Found that md is ancient and bad
- Found that disko is 100% extra steps, and a lot more complicated and noisy than just formatting your disks yourself
- Found that systemd-boot doesn't support mdraid
- Found that we probably don't need to mirror the boot partition :)
- Found that old hardware is slow
- Found that old hardware can have poor support for iPXE with UEFI, and might do weird BIOS stuff on you when you least expect it
- Reaffirmed that zfs is love

Current disk layout:
- mdraid for boot/root disk
    - 4TB WD Red with 500MiB ESP with systemd-boot, Remaining mdraid - Old?
    - 4TB WD Red with 500MiB Unused partition, Remaining mdraid - Old?
- zfs pool "tank" for the actual backup data
    - 8TB Toshiba MG08 - New
    - 8TB Exos 7E10 - New

TODO:

- Document the death of Toriel on the wiki
- Document Bakke on the wiki
  - ... describing the poco loco disk layout
- Start backing stuff up
  - Restic? Borg? Rsync?
  - Make backup retention policy and zfs snapshot system
  - Document backup procedures

Reviewed-on: Drift/pvv-nixos-config#87
Co-authored-by: Felix Albrigtsen <felix@albrigtsen.it>
Co-committed-by: Felix Albrigtsen <felix@albrigtsen.it>
2025-12-22 04:08:30 +01:00
oysteikt ebff173946 flake.{nix,lock}: bumpdeedump 2025-12-05 04:20:30 +09:00
oysteikt 3dc6ae6d58 flake.nix: fix pvv-calender-bot overlay attrpath 2025-12-05 02:50:00 +09:00
oysteikt ab04d573ed wenche: fix eval 2025-11-12 01:01:32 +09:00
oysteikt 39977eeb5c bekkalokk: source map data from the new map data impl in python 2025-11-11 22:40:16 +09:00
oysteikt b821d36f40 bicep/minecraft-heatmap: init 2025-08-25 14:26:37 +02:00
oysteikt d482eb332d flake.nix: bump nixos-matrix-modules: 0.7.0 -> v0.7.1 2025-08-03 02:21:05 +02:00
albertba 043099eb37 hosts/lupine: init
Co-authored-by: h7x4 <h7x4@nani.wtf>
2025-07-30 20:30:28 +02:00
albertba 59969b9ec8 Allow configuring configuration src path in nixosConfig
Co-authored-by: h7x4 <h7x4@nani.wtf>
2025-07-20 03:54:00 +02:00
danio 1d48a63e3d Merge branch '25.05' 2025-07-14 01:58:04 +02:00
oysteikt ddd405f534 nixpkgs 25.05 🎉 2025-07-11 18:43:21 +02:00
oysteikt 4fa544b430 WIP: bicep/ooye: init 2025-06-22 00:59:23 +02:00
oysteikt 7601734651 modules/ooye: init 2025-06-21 19:54:57 +02:00
oysteikt cafeef827f packages/ooye: init 2025-06-21 19:52:37 +02:00
pederbs 9e82ca3d15 flake: evaluate devShells with nixpkgs-unstable 2025-06-01 00:37:52 +02:00
pederbs c8d29c363f flake: switch to nixos.org nixpkgs tarballs
no rate limiting and supports ipv6
2025-05-30 19:05:27 +02:00
pederbs e387656be8 base/auto-upgrade: fetch input urls from flake 2025-05-30 19:05:24 +02:00
danio 5d704840ce brutally murder bob 2025-05-25 11:32:44 +02:00
danio f40f2ae89d update inputs to 25.05 2025-05-25 09:59:44 +02:00
oysteikt 20ade0d619 bicep: add git-mirroring service 2025-05-08 23:41:43 +02:00
oysteikt b730bdc34d flake.nix: fix nix-gitea-themes input url 2025-03-30 17:22:04 +02:00
felixalb f1f4da9ff6 Merge pull request 'Init wenche' (!94) from init-wenche into main
Reviewed-on: Drift/pvv-nixos-config#94
Reviewed-by: Oystein Kristoffer Tveit <oysteikt@pvv.ntnu.no>
2025-03-29 22:15:02 +01:00
oysteikt 8b34f31e3f Move gitea from bekkalokk to kommode 2025-03-16 19:02:30 +01:00
oysteikt a408ef6688 hosts/kommode: init 2025-03-16 13:19:29 +01:00
oysteikt c8bf3b7c01 modules/robots-txt: init 2025-03-15 14:58:30 +01:00
oysteikt 83f83a91b7 flake.{nix,lock}: bump inputs 2025-03-15 02:23:16 +01:00
felixalb 4f28815018 wenche: Fix nvidia driver. flake: add shells/cuda. 2025-02-22 19:45:26 +01:00
felixalb bdaa765dbb wenche: start adding NVIDIA support 2025-02-19 23:28:42 +01:00
felixalb c0e551eb8b wenche: init new host 2025-02-19 22:48:28 +01:00
oysteikt 8a8f5659fb gergle: big if true 2025-01-25 19:59:43 +01:00
oysteikt 394ff94033 flake.nix: move grz projects from Projects to Grzegorz 2025-01-06 16:34:22 +01:00
danio ebc5b269ef 24.11 2024-12-10 21:05:20 +01:00
oysteikt 04a838fc62 flake.nix: nixlib -> lib 2024-12-09 22:33:39 +01:00
oysteikt c10c6d5a09 hosts/ustetind: init 2024-12-09 21:31:30 +01:00
oysteikt 0ed0a3a504 flake.nix: make outputs.inputs buildable 2024-12-08 00:29:59 +01:00
danio 3bdfb4c297 Add function to make paths from flake root
No more ../../../../../../
2024-11-17 00:08:02 +01:00
oysteikt cbc3490882 modules/grzegorz: use greg-ng 2024-10-19 23:31:28 +02:00
Joakim Pettersvold c1833eb07c bicep/matrix/hookshot: Configure matrix-hookshot
Co-authored-by: Daniel Olsen <daniel.olsen99@gmail.com>
2024-10-13 05:50:22 +02:00
danio cd23e35aac bicep/matrix: update module and remove deprecated options 2024-09-27 06:38:12 +02:00
pederbs 166b80988a flake.lock: Update
Flake lock file updates:

• Updated input 'grzegorz':
    'github:Programvareverkstedet/grzegorz/0481aef6553ae9aee86e4edb4ca0ed4f2eba2058' (2024-05-18)
  → 'git+https://git.pvv.ntnu.no/Projects/grzegorz.git?ref=refs/heads/master&rev=d10db19d7df5c5c2cd2dcb878376d5d681f6c2f2' (2024-09-20)
• Updated input 'grzegorz/fix-python':
    'github:GuillaumeDesforges/fix-python/f7f4b33e22414071fc1f9cbf68072c413c3a7fdf' (2024-04-23)
  → 'github:GuillaumeDesforges/fix-python/2926402234c3f99aa8e4608c51d9ffa73ea403c0' (2024-09-04)
• Updated input 'grzegorz-clients':
    'github:Programvareverkstedet/grzegorz-clients/b9444658fbb39cd1bf1c61ee5a1d5f0641c49abe' (2024-05-19)
  → 'git+https://git.pvv.ntnu.no/Projects/grzegorz-clients.git?ref=refs/heads/master&rev=546d921ec46735dbf876e36f4af8df1064d09432' (2024-09-20)
2024-09-20 22:49:19 +02:00
pederbs 4e81647fb6 auto-upgrade: --update-input -> --override-input 2024-09-15 19:14:03 +02:00
danio 47fa3759c3 buskerud: remove
This is now a proxmox machine :grr:
2024-09-05 18:00:42 +02:00
danio 7e95b77e15 grzegorz: follow stable nix channel
It broke because sanic
2024-09-03 13:28:13 +02:00
danio 201784fa21 bluemap on bekkalokk 💀 2024-09-02 15:11:32 +02:00
pederbs c6684d5146 Merge pull request 'justfile: init' (!56) from justfile into main
Reviewed-on: Drift/pvv-nixos-config#56
Reviewed-by: Oystein Kristoffer Tveit <oysteikt@pvv.ntnu.no>
2024-08-07 12:22:04 +02:00
pederbs f6cb934ffb Merge pull request 'flake.nix: simplify allMachines' (!59) from attrnames into main
Reviewed-on: Drift/pvv-nixos-config#59
Reviewed-by: Daniel Lovbrotte Olsen <danio@pvv.ntnu.no>
2024-08-04 23:44:54 +02:00
pederbs 0bfa6ac329 flake.nix: export inputs 2024-08-04 17:19:33 +02:00
pederbs 2c3261de74 flake.nix: simplify allMachines 2024-08-04 17:11:21 +02:00
pederbs c2e6f294ea flake.nix: export snakeoil-certs and snappymail nixos modules 2024-08-04 16:48:21 +02:00
pederbs 1714681532 statix fix 2024-08-04 01:46:00 +02:00