encryption bitch
This commit is contained in:
parent
4508333405
commit
908d10be5d
11 changed files with 168 additions and 31 deletions
|
|
@ -3,11 +3,14 @@
|
|||
enable = config.niksos.server;
|
||||
settings = {
|
||||
PURGE_DAYS = 7;
|
||||
MAX_UPLOAD_SIZE = 4 * 1000 * 1000; # 2gb
|
||||
MAX_UPLOAD_SIZE = 4 * 1000 * 1000; # 4gb
|
||||
# CORS_DOMAINS = "transfer.jsw.tf"; #FIXME: open it to the world wide web.
|
||||
BASEDIR = "/var/lib/transfer.sh";
|
||||
LISTENER = ":9000";
|
||||
HTTP_AUTH_USER = "jsw";
|
||||
EMAIL_CONTACT = "jurnwubben@gmail.com";
|
||||
};
|
||||
secretFile = config.age.secrets.transferSh.path;
|
||||
};
|
||||
systemd.services.transfer-sh.serviceConfig = {
|
||||
StateDirectory = "transfer.sh";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue