From 05aea7f5f1e3ee3e054c6b60e47809601799eada Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Fri, 24 Dec 2021 02:02:57 +0000 Subject: [PATCH] ops/nixos: migrate from services.redis to services.redis.servers."" --- ops/nixos/bvm-netbox/default.nix | 2 +- ops/nixos/etheroute-lon01/default.nix | 2 +- ops/nixos/lib/baserow.nix | 2 +- ops/nixos/porcorosso/default.nix | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ops/nixos/bvm-netbox/default.nix b/ops/nixos/bvm-netbox/default.nix index f492c6156d..a6215a196f 100644 --- a/ops/nixos/bvm-netbox/default.nix +++ b/ops/nixos/bvm-netbox/default.nix @@ -160,7 +160,7 @@ in { }; services.postgresqlBackup.enable = true; - services.redis = { + services.redis.servers."" = { enable = true; }; diff --git a/ops/nixos/etheroute-lon01/default.nix b/ops/nixos/etheroute-lon01/default.nix index 38b5e64ef4..06501650d8 100644 --- a/ops/nixos/etheroute-lon01/default.nix +++ b/ops/nixos/etheroute-lon01/default.nix @@ -245,7 +245,7 @@ in { (bindMountSvc "/var/lib/tailscale" "tailscaled.service") ]; - services.redis = { + services.redis.servers."" = { enable = true; bind = "127.0.0.1"; }; diff --git a/ops/nixos/lib/baserow.nix b/ops/nixos/lib/baserow.nix index 5a3f2a8d06..4f66c208e7 100644 --- a/ops/nixos/lib/baserow.nix +++ b/ops/nixos/lib/baserow.nix @@ -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" ]; diff --git a/ops/nixos/porcorosso/default.nix b/ops/nixos/porcorosso/default.nix index e573dd78f6..ad15246ab0 100644 --- a/ops/nixos/porcorosso/default.nix +++ b/ops/nixos/porcorosso/default.nix @@ -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";