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 nixos: export packages of the current configuration (its pkgs argument) 2018-02-09 19:35:27 +00:00
README
release-combined.nix release-combined.tested: readd boot.biosUsb test 2020-02-22 10:43:26 +01:00
release-small.nix nixos/release-small.nix: List constituents of the 'tested' job by name 2020-02-17 16:37:10 +01:00
release.nix nixos/release.nix: Import './..' instead of nixpkgs 2020-02-12 22:44:59 +01:00

*** 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.