ops/nixos: migrate from services.redis to services.redis.servers.""
This commit is contained in:
parent
e55a824929
commit
05aea7f5f1
4 changed files with 4 additions and 4 deletions
ops/nixos
|
@ -160,7 +160,7 @@ in {
|
||||||
};
|
};
|
||||||
services.postgresqlBackup.enable = true;
|
services.postgresqlBackup.enable = true;
|
||||||
|
|
||||||
services.redis = {
|
services.redis.servers."" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
|
@ -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" ];
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue