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 = {
|
||||
enable = true;
|
||||
initialScript = pkgs.writeText "synapse-init.sql" ''
|
||||
CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse';
|
||||
CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
|
||||
CREATE ROLE "iceshrimp" WITH LOGIN PASSWORD 'uph2reeloo3aeDae4muc';
|
||||
CREATE DATABASE "iceshrimp" WITH OWNER "iceshrimp"
|
||||
TEMPLATE template0
|
||||
LC_COLLATE = "C"
|
||||
LC_CTYPE = "C";
|
||||
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
iceshrimp = {
|
||||
enable = true;
|
||||
configureNginx = 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue