X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=nixops%2Fmodules%2Fmail%2Fdefault.nix;h=6ec9165305206b4db499ed97ef941f4b90faba16;hp=eeb28aafa913093ee2e231586b350db5be33c88b;hb=52c3e9e710eb26d5a7b8edca154f8e99c1deaec3;hpb=42f4b42d5082b80b5b2afc55f112ae9ec3374d68 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 @@ { lib, pkgs, config, myconfig, mylibs, ... }: { + config.ids.uids.nullmailer = myconfig.env.users.nullmailer.uid; + config.ids.gids.nullmailer = myconfig.env.users.nullmailer.gid; + config.users.users.nullmailer.uid = config.ids.uids.nullmailer; + config.users.groups.nullmailer.gid = config.ids.gids.nullmailer; + config.services.nullmailer = { enable = true; config = {