mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 12:40:44 +03:00
20 lines
285 B
Nix
20 lines
285 B
Nix
{
|
|
config,
|
|
xlib,
|
|
...
|
|
}:
|
|
{
|
|
services.trilium-server = {
|
|
enable = true;
|
|
nginx = {
|
|
enable = true;
|
|
hostName = "trilium"
|
|
};
|
|
dataDir = "/mnt/services/trilium";
|
|
};
|
|
|
|
systemd.tmpfiles.rules = [
|
|
"z /mnt/services/trilium 0750 trilium trilium -"
|
|
];
|
|
}
|