mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
123
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
../software/beets
|
../software/beets
|
||||||
./calibre-web.nix
|
./calibre-web.nix
|
||||||
./memos.nix
|
./memos.nix
|
||||||
|
./trilium.nix
|
||||||
./immich.nix
|
./immich.nix
|
||||||
./mealie.nix
|
./mealie.nix
|
||||||
./miniflux.nix
|
./miniflux.nix
|
||||||
|
|||||||
@@ -21,6 +21,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
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" = {
|
# "onlyoffice" = {
|
||||||
# forceSSL = false;
|
# forceSSL = false;
|
||||||
# enableACME = 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