feat: use specialArgs instead for iceshrimp module; comment out DB for now

This commit is contained in:
Ahwx 2024-07-15 13:45:58 +02:00
parent fb5097b0f5
commit 7b6df8e07d

View file

@ -1,12 +1,22 @@
{ ... }: { config, pkgs, iceshrimp, ... }:
{ {
services.iceshrimp = {
enable = true; services = {
settings = { # redis.servers.iceshrimp = {
url = "https://fedi.liv.town"; # The domain your Iceshrimp UI will be served on. # enable = true;
settings.db.host = "/run/postgresql"; # omitting this setting causes some configurations to fail # 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;
}; };
dbPasswordFile = /var/iceshrimp/dbPasswordFile;
secretConfig = /var/iceshrimp/secretConfig.yml;
}; };
} }