diff options
Diffstat (limited to 'virtual')
-rw-r--r-- | virtual/eldiron.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/virtual/eldiron.nix b/virtual/eldiron.nix index 4087be8..3d480fd 100644 --- a/virtual/eldiron.nix +++ b/virtual/eldiron.nix | |||
@@ -105,6 +105,10 @@ | |||
105 | install -d -m 0755 /var/lib/acme/acme-challenge | 105 | install -d -m 0755 /var/lib/acme/acme-challenge |
106 | install -d -m 0755 /var/www | 106 | install -d -m 0755 /var/www |
107 | ''; | 107 | ''; |
108 | redis = '' | ||
109 | mkdir -p /run/redis | ||
110 | chown redis /run/redis | ||
111 | ''; | ||
108 | }; | 112 | }; |
109 | 113 | ||
110 | services.httpd = let | 114 | services.httpd = let |
@@ -247,6 +251,17 @@ | |||
247 | } | 251 | } |
248 | ]; | 252 | ]; |
249 | 253 | ||
254 | # FIXME: backup | ||
255 | services.redis = rec { | ||
256 | enable = true; | ||
257 | bind = "127.0.0.1"; | ||
258 | unixSocket = "/run/redis/redis.sock"; | ||
259 | extraConfig = '' | ||
260 | unixsocketperm 777 | ||
261 | maxclients 1024 | ||
262 | ''; | ||
263 | }; | ||
264 | |||
250 | # FIXME: initial sync | 265 | # FIXME: initial sync |
251 | # FIXME: backup | 266 | # FIXME: backup |
252 | # FIXME: restart after pam | 267 | # FIXME: restart after pam |