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
|
||||
|
||||
./kiosk.nix
|
||||
#./trilium.nix
|
||||
./trilium.nix
|
||||
|
||||
];
|
||||
|
||||
|
|
|
@ -5,10 +5,16 @@
|
|||
dataDir = "/srv/trilium";
|
||||
instanceName = "chungus";
|
||||
host = "10.23.42.28";
|
||||
noAuthentication = true;
|
||||
#nginx = {
|
||||
# enable = true;
|
||||
# hostName = "trilium.${config.networking.hostName}.private";
|
||||
#};
|
||||
#noAuthentication = true;
|
||||
nginx = {
|
||||
enable = true;
|
||||
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