nixos-config/modules/services/iceshrimp.nix

31 lines
929 B
Nix
Raw Normal View History

{ config, pkgs, iceshrimp, ... }:
2024-07-15 11:49:02 +02:00
{
services = {
2024-07-17 01:15:15 +02:00
# postgresql = {
# enable = true;
# initialScript = pkgs.writeText "iceshrimp.sql" ''
# CREATE ROLE "iceshrimp" WITH LOGIN PASSWORD 'uph2reeloo3aeDae4muc';
# CREATE DATABASE "iceshrimp" WITH OWNER "iceshrimp"
# TEMPLATE template0
# LC_COLLATE = "C"
# LC_CTYPE = "C";
# '';
# };
2024-07-16 21:19:15 +02:00
# > "@liv the nix package is sadly broken at the moment"
# iceshrimp = {
# enable = true;
# settings = {
# configureNginx = true;
# createDb = true;
# 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
};
}