update readme, btw

This commit is contained in:
2026-02-18 19:50:11 +01:00
parent 3120984bbd
commit bf0890b77a

View File

@@ -2,16 +2,15 @@
* Prerequisites
- NixOS installed
- Domain with DNS pointing to server (A record: =matrix.yourdomain.com=)
- Port 443, 8448 forwarded
- Domain with DNS pointing to server (A/AAAA Record matrix.domain.tld)
- Port 443
* Setup
1. Clone to =/etc/nixos= (or copy files)
2. Edit =matrix.nix= line 7: change =enter-your-domain= to your domain
3. Edit =configuration.nix= line 30: set your ACME email
4. Copy your =hardware-configuration.nix= into the directory
5. Rebuild:
3. Copy your =hardware-configuration.nix= into the directory
4. Rebuild:
#+begin_src sh
nixos-rebuild switch --flake /etc/nixos#nixos-matrix
#+end_src
@@ -34,5 +33,5 @@ Test federation: https://federationtester.matrix.org
* Notes
- Registration disabled by default (=enable_registration = false=)
- SSL via Let's Encrypt (automatic)
- PostgreSQL configured automatically
- Intended usecase ipv6 lxc container with remote reverse proxy