Updated wakapi with comments and removed unused languages

This commit is contained in:
2025-01-02 16:03:43 +02:00
parent ce87da2d2c
commit e17066f680
2 changed files with 5 additions and 8 deletions

View File

@@ -44,7 +44,7 @@
wantedBy = [ "multi-user.target" ];
script = ''
cd
cd # Important so the cwd is /home/wakapi
echo "Using config: ${toString ./wakapi.yml}"
${pkgs.wakapi}/bin/wakapi -config ${toString ./wakapi.yml}
'';
@@ -52,6 +52,8 @@
serviceConfig = {
User = "wakapi";
Group = "wakapi";
# Hardening
ProtectHostname = true;
ProtectKernelLogs = true;
ProtectKernelModules = true;
@@ -66,6 +68,7 @@
RestrictNamespaces = true;
RestrictRealtime = true;
RestrictSUIDSGID = true;
Restart = "always";
};
};

View File

@@ -32,12 +32,6 @@ app:
max_inactive_months: 12 # maximum months of inactivity before deleting user accounts
warm_caches: true # whether to run some initial cache warming upon startup
custom_languages:
vue: Vue
jsx: JSX
tsx: TSX
cjs: JavaScript
ipynb: Python
svelte: Svelte
astro: Astro
# url template for user avatar images (to be used with services like gravatar or dicebear)
@@ -96,7 +90,7 @@ subscriptions:
standard_price_id:
mail:
enabled: false # whether to enable mails (used for password resets, reports, etc.)
enabled: false # whether to enable mails (used for password resets, reports, etc.)
provider: smtp # method for sending mails, currently one of ['smtp']
sender: Wakapi <noreply@wakapi.dev>