16 lines
315 B
Nix
16 lines
315 B
Nix
{ inputs, pkgs, ... }:
|
|
let
|
|
unstable = import inputs.unstable { system = pkgs.stdenv.system; };
|
|
in
|
|
|
|
{
|
|
services.trilium-server = {
|
|
enable = true;
|
|
package = unstable.trilium-server;
|
|
port = 12783;
|
|
host = "0.0.0.0";
|
|
# noAuthentication = true;
|
|
environmentFile = "/secrets/trilium.env";
|
|
};
|
|
}
|