Small refactor and added prowlarr
This commit is contained in:
parent
1ca82af674
commit
02876ce7b3
15 changed files with 76 additions and 88 deletions
51
nixos/server/package-configs/akkoma/configuration.nix
Normal file
51
nixos/server/package-configs/akkoma/configuration.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
sops.secrets."releaseCookie".mode = "0440";
|
||||
sops.secrets."releaseCookie".owner = config.users.users.akkoma.name;
|
||||
|
||||
users.groups.akkoma = {};
|
||||
|
||||
users.users = {
|
||||
akkoma = {
|
||||
isSystemUser = true;
|
||||
group = "akkoma";
|
||||
};
|
||||
};
|
||||
|
||||
services.akkoma = {
|
||||
enable = true;
|
||||
package = pkgs.akkoma;
|
||||
extraPackages = with pkgs; [ffmpeg exiftool imagemagick];
|
||||
nginx = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
serverName = "akkoma.gladtherescake.eu";
|
||||
};
|
||||
#dist.cookie._secret = config.sops.secrets."releaseCookie".path;
|
||||
config = {
|
||||
":pleroma".":instance" = {
|
||||
name = "GLaDTheresCake Akkoma";
|
||||
email = "akkoma@gladtherescake.eu";
|
||||
notify_email = "no-reply@akkoma.gladtherescake.eu";
|
||||
emails.mailer = {
|
||||
enabled = true;
|
||||
adapter = "Swoosh.Adapters.Sendmail";
|
||||
cmd_path = "sendmail";
|
||||
cmd_args = "-N delay,failure,success";
|
||||
qmail = true;
|
||||
};
|
||||
description = "Lillian's Akkoma server!";
|
||||
languages = ["en" "nl"];
|
||||
registrations_open = true;
|
||||
max_pinned_statuses = 10;
|
||||
cleanup_attachments = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue