nixos-config/modules/services/iceshrimp.nix

23 lines
590 B
Nix
Raw Normal View History

{ config, pkgs, iceshrimp, ... }:
2024-07-15 11:49:02 +02:00
{
services = {
# redis.servers.iceshrimp = {
# enable = true;
# port = 6380;
# bind = "0.0.0.0";
# settings.protected-mode = "no";
# };
iceshrimp = {
enable = true;
settings = {
url = "https://fedi.liv.town"; # The domain your Iceshrimp UI will be served on.
settings.db.host = "/run/postgresql"; # omitting this setting causes some configurations to fail
};
dbPasswordFile = /var/iceshrimp/dbPasswordFile;
secretConfig = /var/iceshrimp/secretConfig.yml;
2024-07-15 11:49:02 +02:00
};
};
}