nixpkgs/nixos
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
..
doc nixos/manual: fix build 2020-03-19 15:32:34 +01:00
lib nixos: Fix pkgs exporting 2020-03-19 21:19:25 +01:00
maintainers nixos-ami: update nvme_core.io_timeout for linux kernel >= 4.15 2020-03-22 00:35:56 -04:00
modules nixos/ssmtp: declare all option renames manually 2020-03-22 15:52:01 +01:00
tests nixosTests.fenics: Add basic test 2020-03-19 21:48:27 -07:00
COPYING
default.nix
README
release-combined.nix
release-small.nix
release.nix

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.