Find a file
2023-08-19 22:11:28 +05:00
nixos Change clickhouse settings 2023-08-19 22:11:28 +05:00
.editorconfig Initial commit 2023-08-17 21:46:39 +05:00
flake.lock Initial commit 2023-08-17 21:46:39 +05:00
flake.nix Initial commit 2023-08-17 21:46:39 +05:00
LICENSE.txt Create LICENSE.txt 2023-08-19 12:55:22 +05:00
readme.md Add mta-sts config 2023-08-19 19:56:30 +05:00

Nixos

My home server settings.

Upgrade

sudo nixos-rebuild --flake .#comfycamp switch

Services

Name Url
Mastodon m.comfycamp.space
Synapse matrix.comfycamp.space
Jellyfin Private
Photoprism Private
Nextcloud Private

Required files

Acme

  • /var/lib/secrets/certs.txt:
REGRU_USERNAME=xxx
REGRU_PASSWORD=xxx

The file must be available to the acme user.

Mastodon

  • /var/lib/mastodon/otp-secret.txt
  • /var/lib/mastodon/postgres.txt
  • /var/lib/mastodon/secret-key-base.txt
  • /var/lib/mastodon/smtp-password.txt
  • /var/lib/mastodon/vapid-private-key.txt
  • /var/lib/mastodon/vapid-public-key.txt

Nextcloud

  • /var/lib/nextcloud/admin-pass.txt

Synapse

  • /var/lib/matrix-synapse/config.yml
registration_shared_secret: xxx
macaroon_secret_key: xxx
form_secret: xxx

Mail

  • /var/lib/mta-sts/.well-known/mta-sts.txt
version: STSv1
mode: enforce
max_age: 604800
mx: mx.comfycamp.space

The file must be available to the nginx user.