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:
parent
43c251b90d
commit
db413ad808
4 changed files with 23 additions and 0 deletions
20
services/memos.nix
Normal file
20
services/memos.nix
Normal 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 -"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue