Find a file
2024-08-12 18:20:20 +05:00
nixos feat: install restic 2024-08-12 18:20:20 +05:00
.editorconfig Initial commit 2023-08-17 21:46:39 +05:00
flake.lock chore: update packages 2024-07-06 10:07:49 +05:00
flake.nix chore!: upgrade to nixos 24.05 2024-06-09 18:44:46 +05:00
LICENSE.txt Create LICENSE.txt 2023-08-19 12:55:22 +05:00
Makefile feat: add a makefile to simplify updates 2024-03-03 19:58:37 +05:00
readme.md Readme: update acme secret information 2023-11-04 20:35:07 +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
Maddy Private
Plausible Private

Required files

  • /var/lib/secrets/certs.txt

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.

Plausible

  • /var/lib/secrets/plausible/admin-pass.txt
  • /var/lib/secrets/plausible/keybase.txt
  • /var/lib/secrets/plausible/release-cookie.txt
  • /var/lib/secrets/plausible/smtp-pass.txt