ops/nixos: migrate from services.redis to services.redis.servers.""

This commit is contained in:
Luke Granger-Brown 2021-12-24 02:02:57 +00:00
parent e55a824929
commit 05aea7f5f1
4 changed files with 4 additions and 4 deletions
ops/nixos
bvm-netbox
etheroute-lon01
lib
porcorosso

View file

@ -160,7 +160,7 @@ in {
}; };
services.postgresqlBackup.enable = true; services.postgresqlBackup.enable = true;
services.redis = { services.redis.servers."" = {
enable = true; enable = true;
}; };

View file

@ -245,7 +245,7 @@ in {
(bindMountSvc "/var/lib/tailscale" "tailscaled.service") (bindMountSvc "/var/lib/tailscale" "tailscaled.service")
]; ];
services.redis = { services.redis.servers."" = {
enable = true; enable = true;
bind = "127.0.0.1"; bind = "127.0.0.1";
}; };

View file

@ -57,7 +57,7 @@ in
}]; }];
ensureDatabases = [ "baserow" ]; ensureDatabases = [ "baserow" ];
}; };
services.redis.enable = true; services.redis.servers."".enable = true;
systemd.services.baserow-mjml-tcpserver = { systemd.services.baserow-mjml-tcpserver = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];

View file

@ -295,7 +295,7 @@ in {
# Enable Thunderbolt device management. # Enable Thunderbolt device management.
services.hardware.bolt.enable = true; services.hardware.bolt.enable = true;
services.redis.enable = true; services.redis.servers."".enable = true;
services.postgresql.enable = true; services.postgresql.enable = true;
services.postgresql.ensureUsers = [{ services.postgresql.ensureUsers = [{
name = "lukegb"; name = "lukegb";