updates
This commit is contained in:
parent
8abe444031
commit
c3779adac3
1 changed files with 9 additions and 6 deletions
|
|
@ -1,17 +1,20 @@
|
||||||
{ lib, pkgs, config, ... }:
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
services.trilium-server = {
|
services.trilium-server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 9111;
|
port = 9111;
|
||||||
host = "0.0.0.0";
|
host = "127.0.0.1";
|
||||||
dataDir = "/var/lib/trilium";
|
dataDir = "/var/lib/trilium";
|
||||||
# noAuthentication = true; # keep authentication for now
|
noAuthentication = true;
|
||||||
|
instanceName = "joshuabell";
|
||||||
};
|
};
|
||||||
|
|
||||||
# systemd.tmpfiles.rules = [
|
systemd.services.trilium-server.environment = {
|
||||||
# "d /var/lib/trilium 0755 trilium trilium -"
|
TRILIUM_NO_UPLOAD_LIMIT = true;
|
||||||
# ];
|
};
|
||||||
|
|
||||||
# services.nginx = {
|
# services.nginx = {
|
||||||
# virtualHosts = {
|
# virtualHosts = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue