NixOS-Config/nixos/queen/akkoma.nix

30 lines
459 B
Nix
Raw Normal View History

{
2023-11-25 13:32:32 +01:00
inputs,
outputs,
lib,
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";
};
};
}