Hetzner

Setting up a new server on hetzner

  1. Create new server with e.g. fedora (Ubuntu does not seem to work - to strict)
  • add ssh key on creation
  • ssh root@ipv6
  1. Configure nix install disk config
  2. Run the install task to setup deploy users
  3. Configure rehearsal ip config
  4. Run rehearsal deploy
  5. Add secrets
  • add redirects: /etc/nginx/\* (TODO: not a secret)
  • add cloudflare token: /root/cloudflare-env
  • add email client passwords: /etc/msmpt/\*
  • restart acme and nginx services