mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
123
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
../software/beets
|
||||
./calibre-web.nix
|
||||
./memos.nix
|
||||
./trilium.nix
|
||||
./immich.nix
|
||||
./mealie.nix
|
||||
./miniflux.nix
|
||||
|
||||
@@ -21,6 +21,6 @@
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"z /mnt/services/memos 0755 memos memos -"
|
||||
"z /mnt/services/memos 0750 memos memos -"
|
||||
];
|
||||
}
|
||||
|
||||
@@ -27,6 +27,20 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
"trilium" = {
|
||||
forceSSL = false;
|
||||
enableACME = false;
|
||||
listen = [
|
||||
{
|
||||
addr = "100.64.0.0";
|
||||
port = 10000;
|
||||
}
|
||||
{
|
||||
addr = "192.168.1.20";
|
||||
port = 10000;
|
||||
}
|
||||
];
|
||||
};
|
||||
# "onlyoffice" = {
|
||||
# forceSSL = false;
|
||||
# enableACME = false;
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
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 -"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user