This commit is contained in:
2025-10-21 21:36:15 +03:00
parent c4c6968a19
commit 0edf017770
2 changed files with 32 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
./modules/atproto-pds.nix
./modules/cloudflare.nix
./modules/knot.nix
./modules/misskey.nix
../../modules/force.nix
];

View File

@@ -0,0 +1,31 @@
{ config, pkgs, lib, ... }:
{
services.misskey = {
enable = true;
settings = {
maxFileSize = 20 * 1024 * 1024;
port = 8089;
url = "https://m.ocbwoy3.dev";
publishTarballInsteadOfProvideRepositoryUrl = false;
};
database = {
# passwordFile = "/private/misskey-db.pw";
createLocally = true;
};
redis = {
# passwordFile = "/private/misskey-db.pw";
createLocally = true;
};
reverseProxy.webserver.nginx.listen = lib.mkForce [];
};
systemd.tmpfiles.rules = [
"d /misskey 0755 root root -"
];
}