2023-11-24 21:44:59 +01:00
|
|
|
{
|
2023-11-25 13:32:32 +01:00
|
|
|
inputs,
|
|
|
|
outputs,
|
|
|
|
lib,
|
2023-11-24 21:44:59 +01:00
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
users.groups.akkoma = {};
|
|
|
|
|
|
|
|
users.users = {
|
|
|
|
akkoma = {
|
|
|
|
isSystemUser = true;
|
|
|
|
group = "akkoma";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.akkoma = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.akkoma;
|
|
|
|
extraPackages = with pkgs; [ffmpeg exiftool imagemagick];
|
|
|
|
nginx = {
|
|
|
|
addSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
serverName = "akkoma.gladtherescake.eu";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|