add trilium
This commit is contained in:
parent
209867b501
commit
635b4f295a
2 changed files with 12 additions and 6 deletions
|
@ -40,7 +40,7 @@
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
|
|
||||||
./kiosk.nix
|
./kiosk.nix
|
||||||
#./trilium.nix
|
./trilium.nix
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,16 @@
|
||||||
dataDir = "/srv/trilium";
|
dataDir = "/srv/trilium";
|
||||||
instanceName = "chungus";
|
instanceName = "chungus";
|
||||||
host = "10.23.42.28";
|
host = "10.23.42.28";
|
||||||
noAuthentication = true;
|
#noAuthentication = true;
|
||||||
#nginx = {
|
nginx = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# hostName = "trilium.${config.networking.hostName}.private";
|
hostName = "trilium.${config.networking.hostName}.private";
|
||||||
#};
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."${config.services.trilium-server.nginx.hostName}".extraConfig = ''
|
||||||
|
allow ${config.tinc.private.subnet};
|
||||||
|
deny all;
|
||||||
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue