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/mail | |
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/mail')
-rw-r--r-- | nixops/modules/mail/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixops/modules/mail/default.nix b/nixops/modules/mail/default.nix index eeb28aa..6ec9165 100644 --- a/nixops/modules/mail/default.nix +++ b/nixops/modules/mail/default.nix | |||
@@ -1,5 +1,10 @@ | |||
1 | { lib, pkgs, config, myconfig, mylibs, ... }: | 1 | { lib, pkgs, config, myconfig, mylibs, ... }: |
2 | { | 2 | { |
3 | config.ids.uids.nullmailer = myconfig.env.users.nullmailer.uid; | ||
4 | config.ids.gids.nullmailer = myconfig.env.users.nullmailer.gid; | ||
5 | config.users.users.nullmailer.uid = config.ids.uids.nullmailer; | ||
6 | config.users.groups.nullmailer.gid = config.ids.gids.nullmailer; | ||
7 | |||
3 | config.services.nullmailer = { | 8 | config.services.nullmailer = { |
4 | enable = true; | 9 | enable = true; |
5 | config = { | 10 | config = { |