mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
feat: lets iceshrimp configure nginx
This commit is contained in:
parent
cf23013e42
commit
c773beb592
1 changed files with 3 additions and 2 deletions
|
|
@ -5,8 +5,8 @@
|
||||||
postgresql = {
|
postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
initialScript = pkgs.writeText "synapse-init.sql" ''
|
initialScript = pkgs.writeText "synapse-init.sql" ''
|
||||||
CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse';
|
CREATE ROLE "iceshrimp" WITH LOGIN PASSWORD 'uph2reeloo3aeDae4muc';
|
||||||
CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
|
CREATE DATABASE "iceshrimp" WITH OWNER "iceshrimp"
|
||||||
TEMPLATE template0
|
TEMPLATE template0
|
||||||
LC_COLLATE = "C"
|
LC_COLLATE = "C"
|
||||||
LC_CTYPE = "C";
|
LC_CTYPE = "C";
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
iceshrimp = {
|
iceshrimp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
configureNginx = true;
|
||||||
settings = {
|
settings = {
|
||||||
url = "https://fedi.liv.town"; # The domain your Iceshrimp UI will be served on.
|
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
|
settings.db.host = "/run/postgresql"; # omitting this setting causes some configurations to fail
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue