diff options
Diffstat (limited to '')
-rw-r--r-- | ilex/configuration.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/ilex/configuration.nix b/ilex/configuration.nix index 0f0e528..70ca74d 100644 --- a/ilex/configuration.nix +++ b/ilex/configuration.nix @@ -7,7 +7,7 @@ { imports = [ ./hardware-configuration.nix - ../modules/glitchtip.nix + # ../modules/glitchtip.nix ../modules/crs-tools.nix ]; @@ -40,7 +40,7 @@ services.postgresql = { enable = true; - ensureDatabases = [ "tracktrain" "glitchtrip" "crstracker" "travelynx" ]; + ensureDatabases = [ "tracktrain" "glitchtrip" "crstracker" "travelynx" "bookwyrm" ]; ensureUsers = [ { name = "tracktrain"; ensureDBOwnership = true; @@ -51,6 +51,9 @@ name = "glitchtrip"; ensureDBOwnership = true; } { + name = "bookwyrm"; + ensureDBOwnership = true; + } { name = "crstracker"; ensureDBOwnership = true; } ]; @@ -62,6 +65,11 @@ # package = pkgs.postgresql_11; }; + services.redis.servers."bookwyrm" = { + enable = true; + port = 6379; + }; + # services.glitchtip = { # enable = true; # databaseUrl = "postgres://glitchtrip@localhost:5432/glitchtrip"; |