diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-11 00:17:41 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-11 00:17:41 +0100 |
commit | 52c3e9e710eb26d5a7b8edca154f8e99c1deaec3 (patch) | |
tree | b4726ccb175e05b95d6e5e4bd681db9594fa1843 /nixops/modules/databases | |
parent | 42f4b42d5082b80b5b2afc55f112ae9ec3374d68 (diff) | |
download | Nix-52c3e9e710eb26d5a7b8edca154f8e99c1deaec3.tar.gz Nix-52c3e9e710eb26d5a7b8edca154f8e99c1deaec3.tar.zst Nix-52c3e9e710eb26d5a7b8edca154f8e99c1deaec3.zip |
Add users for redis and nullmailer
Diffstat (limited to 'nixops/modules/databases')
-rw-r--r-- | nixops/modules/databases/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixops/modules/databases/default.nix b/nixops/modules/databases/default.nix index 695069d..bbacded 100644 --- a/nixops/modules/databases/default.nix +++ b/nixops/modules/databases/default.nix | |||
@@ -184,6 +184,10 @@ in { | |||
184 | } | 184 | } |
185 | ]; | 185 | ]; |
186 | 186 | ||
187 | ids.uids.redis = myconfig.env.users.redis.uid; | ||
188 | ids.gids.redis = myconfig.env.users.redis.gid; | ||
189 | users.users.redis.uid = config.ids.uids.redis; | ||
190 | users.groups.redis.gid = config.ids.gids.redis; | ||
187 | services.redis = rec { | 191 | services.redis = rec { |
188 | enable = config.services.myDatabases.redis.enable; | 192 | enable = config.services.myDatabases.redis.enable; |
189 | bind = "127.0.0.1"; | 193 | bind = "127.0.0.1"; |