From c3779adac3ebc4a11dec4cab6198165b5fac663e Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Fri, 3 Oct 2025 10:48:21 -0500 Subject: [PATCH] updates --- hosts/h001/mods/trilium.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/hosts/h001/mods/trilium.nix b/hosts/h001/mods/trilium.nix index 5e9703f..4292165 100644 --- a/hosts/h001/mods/trilium.nix +++ b/hosts/h001/mods/trilium.nix @@ -1,17 +1,20 @@ -{ lib, pkgs, config, ... }: +{ + ... +}: { config = { services.trilium-server = { enable = true; port = 9111; - host = "0.0.0.0"; + host = "127.0.0.1"; dataDir = "/var/lib/trilium"; - # noAuthentication = true; # keep authentication for now + noAuthentication = true; + instanceName = "joshuabell"; }; - # systemd.tmpfiles.rules = [ - # "d /var/lib/trilium 0755 trilium trilium -" - # ]; + systemd.services.trilium-server.environment = { + TRILIUM_NO_UPLOAD_LIMIT = true; + }; # services.nginx = { # virtualHosts = {