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

View file

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

View file

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

View file

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

View file

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