services: add Flatnotes note-sharing at notes.nordhammer.it

Replaces Vesktop for quick cross-device note-passing. Uses Flatnotes
with auth disabled so Authelia is the only login required.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
rope 2026-05-17 14:19:52 +01:00
parent 43c251b90d
commit db413ad808
4 changed files with 23 additions and 0 deletions

20
services/memos.nix Normal file
View file

@ -0,0 +1,20 @@
# services/memos.nix — Lightweight self-hosted notes at notes.nordhammer.it
# Uses Flatnotes with auth disabled — Authelia is the only gate.
{ config, lib, ... }:
{
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
virtualisation.oci-containers.containers.flatnotes = {
image = "dullage/flatnotes:latest";
ports = [ "127.0.0.1:5230:8080" ];
volumes = [ "/var/lib/flatnotes:/app/data" ];
environment = {
FLATNOTES_AUTH_TYPE = "none";
};
};
systemd.tmpfiles.rules = [
"d /var/lib/flatnotes 0750 root root -"
];
};
}