❄️ Infrastructure configuration for FSR-operated machines
Find a file
Rouven Seifert 9a5d048676
hydra: disable
Not in use and spams database connections
2023-10-28 17:34:07 +02:00
.github/workflows fix cachix ci (#37) 2023-05-25 23:59:56 +02:00
hosts/quitte firewall: use nftables 2023-10-23 11:59:12 +02:00
keys remove the vm 2023-08-16 14:51:01 +02:00
modules courses-phil: use systemd credentials to load the secrets 2023-10-23 15:08:33 +02:00
pkgs padlist: filter pads by tag 2023-08-24 19:46:21 +02:00
secrets add courses-phil secrets 2023-09-27 14:23:22 +02:00
.gitignore fix .gitignore 2023-01-09 18:47:37 +01:00
.sops.yaml remove the vm 2023-08-16 14:51:01 +02:00
flake.lock nixify the manual 2023-10-23 10:27:30 +02:00
flake.nix hydra: disable 2023-10-28 17:34:07 +02:00
README.md reflect garbage collection in README.md 2023-07-19 17:52:07 +02:00

Infrastructure configuration for FSR-operated machines

This repository contains the NixOS configuration files for FSR machines.

Machines configured by this repository:

  • quitte (new server predestined to run all important services)

Setup

Clone this repository on the target machine to /etc/nixos and build the desired host configuration e.g.

# you may need to copy the generated hardware-configuration.nix to hosts/<hostname>/hardware-configuraion.nix
nixos-rebuild switch --flake .#<hostname>

Tips and Tricks

Resolving merge conflicts in sops files

Required steps

  1. Manually resolve the conflicts in the encrypted file
  2. Open the file using sops --ignore-mac secrets/<hostname>.yml
  3. Change one letter in one of the yml entries to let sops know it has to regenerate the MAC
  4. Close the file. Open it again and revert the change you just did in step 3.