27 lines
431 B
Nix
27 lines
431 B
Nix
{
|
|
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";
|
|
};
|
|
};
|
|
}
|