Maximilian Bosch fc316f7b31
nixos/ssmtp: declare all option renames manually
While renaming `networking.defaultMailServer` directly to
`services.ssmtp` is shorter and probably clearer, it causes eval errors
due to the second rename (directDelivery -> enable) when using e.g. `lib.mkForce`.

For instance,

``` nix
{ lib, ... }: {
  networking.defaultMailServer = {
    hostName = "localhost";
    directDelivery = lib.mkForce true;
    domain = "example.org";
  };
}
```

would break with the following (rather confusing) error:

```
error: The option value `services.ssmtp.enable' in `/home/ma27/Projects/nixpkgs/nixos/modules/programs/ssmtp.nix' is not of type `boolean'.
(use '--show-trace' to show detailed location information)
```
2020-03-22 15:52:01 +01:00
..
2019-08-26 21:40:19 +00:00
2019-12-31 10:20:07 +02:00
2020-01-01 14:53:15 -05:00
2019-05-30 19:58:45 +02:00
2019-08-09 12:56:11 -04:00
2019-04-29 14:05:50 +02:00
2019-08-12 13:37:15 +02:00
2020-01-10 02:00:08 +01:00
2019-08-21 16:16:04 -04:00
2019-08-10 11:17:18 -04:00
2018-04-07 15:06:51 +02:00
2019-09-17 00:18:14 +00:00
2020-01-16 18:09:35 +01:00
2018-11-21 23:33:10 +00:00
2018-06-08 20:57:16 +02:00
2019-08-26 21:40:19 +00:00
2019-08-26 21:40:19 +00:00
2019-12-10 22:41:25 -05:00
2019-09-06 02:54:53 +02:00
2019-09-19 19:17:30 +02:00
2020-01-03 15:24:32 +00:00
2020-01-17 21:28:54 +00:00
2019-07-15 09:41:37 +02:00
2018-09-07 20:35:17 +02:00
2019-03-18 09:56:27 +01:00
2019-08-26 21:40:19 +00:00
2019-05-10 08:12:27 +02:00