mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
21 lines
307 B
Nix
21 lines
307 B
Nix
{
|
|
config,
|
|
xlib,
|
|
...
|
|
}:
|
|
{
|
|
services.trilium-server = {
|
|
enable = false;
|
|
nginx = {
|
|
enable = true;
|
|
hostName = "trilium";
|
|
};
|
|
host = "0.0.0.0";
|
|
dataDir = "/mnt/services/trilium";
|
|
};
|
|
|
|
systemd.tmpfiles.rules = [
|
|
"z /mnt/services/trilium 0750 trilium trilium -"
|
|
];
|
|
}
|