nixcloud/nixcloud-webservices

rspamd not working (on 20.09) due to option users.users error

Closed this issue · 1 comments

After working around #76 (I mention this because it may be caused by a regression on newer nixos versions, and for this issue looks a bit similar to the issue mentioned here and patched here.

The error I'm seeing:

error: The option value `users.users' in `/nix/store/ihx06ak2767z80ri7i5wamiacnd16asp-source/nixos/modules/services/mail/rspamd.nix' is not of type `attribute set of submodules'.

I have users defined (only) as:

{ 
   nixcloud.email ={
      # ...
      users = [
        { name = "johndoe"; domain = "mydomain.me"; password = "{PLAIN}hahatest12345"; }
      ];
   };
}

Closing to cleanup, not tested on newer versions (yet).