3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/programs
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
..
bash nixos/bash: configure $LS_COLORS for interactive shells 2020-01-28 00:11:43 -05:00
command-not-found
digitalbitbox Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
zsh Revert "zsh: don't clobber the environment of non-login shells" 2020-02-18 15:52:21 +00:00
adb.nix nixos/adb: don't make android tools the system-wide mke2fs, lowPrio 2019-11-20 22:57:00 +01:00
atop.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
autojump.nix
bandwhich.nix bandwhich: 0.5.1 -> 0.6.0 2019-12-31 10:20:07 +02:00
bash-my-aws.nix bash-my-aws: init at 20191231 2020-01-01 14:53:15 -05:00
bcc.nix
browserpass.nix
captive-browser.nix
ccache.nix
cdemu.nix
chromium.nix
clickshare.nix
criu.nix
dconf.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
dmrconfig.nix
environment.nix nixos/environment: don't set GTK_DATA_PREFIX or GTK_EXE_PREFIX 2019-10-13 19:54:09 -04:00
evince.nix nixos/evince: move to programs 2019-08-09 12:56:11 -04:00
file-roller.nix nixos/file-roller: move to programs 2019-08-09 12:56:11 -04:00
firejail.nix nixos/firejail: use local runCommand 2020-03-14 03:09:48 +00:00
fish.nix
fish_completion-generator.patch nixos/fish: fix completions patch 2020-02-18 08:58:11 -08:00
freetds.nix
fuse.nix Fix the indentation 2019-08-12 13:37:15 +02:00
geary.nix nixos/geary: init 2020-01-10 02:00:08 +01:00
gnome-disks.nix nixos/gnome-disks: move to programs 2019-08-09 12:56:11 -04:00
gnome-documents.nix nixos/gnome-documents: move to programs 2019-08-09 12:56:11 -04:00
gnome-terminal.nix nixos/gnome-terminal: init 2019-08-21 16:16:04 -04:00
gnupg.nix nixos/gnupg: actually use the configured gpg package 2020-01-24 15:54:57 +00:00
gpaste.nix nixos/gpaste: don't set sessionPath 2019-08-10 11:17:18 -04:00
gphoto2.nix
iftop.nix
iotop.nix
java.nix
kbdlight.nix
less.nix nixos/less: fix escape 2019-09-17 00:18:14 +00:00
liboping.nix nixos/liboping: add module 2020-01-16 18:09:35 +01:00
light.nix
mininet.nix
mosh.nix
mtr.nix nixos/mtr: make the package configurable 2019-08-05 17:42:17 +08:00
nano.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
nm-applet.nix networkmanagerapplet: default to withGnome 2019-12-13 18:23:20 -05:00
npm.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
oblogout.nix nixos/oblogout: drop module 2019-12-10 22:41:25 -05:00
plotinus.nix tree-wide: s/GTK+/GTK/g 2019-09-06 02:54:53 +02:00
plotinus.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
qt5ct.nix
screen.nix screen: move pam service to module 2020-01-03 15:24:32 +00:00
seahorse.nix nixos/seahorse: use seahorse's askpass by default 2019-10-21 18:01:15 +02:00
sedutil.nix
shadow.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
singularity.nix
slock.nix
spacefm.nix
ssh.nix ssh-agent: fix syntax problem from #71139 2019-11-07 22:13:18 +00:00
ssmtp.nix nixos/ssmtp: declare all option renames manually 2020-03-22 15:52:01 +01:00
sway.nix nixos/sway: use new package name for rxvt-unicode 2020-02-13 09:36:35 +01:00
sysdig.nix
system-config-printer.nix nixos/system-config-printer: init 2019-09-06 09:40:17 -04:00
systemtap.nix
thefuck.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
tmux.nix nixos/tmux: rename extraTmuxConf to extraConfig (#77423) 2020-02-06 15:29:36 -08:00
traceroute.nix nixos/traceroute: init 2020-01-17 21:28:54 +00:00
tsm-client.nix
udevil.nix
usbtop.nix nixos/usbtop: Add module to install usbtop and to enable kernel module 2019-08-30 18:54:33 +02:00
venus.nix
vim.nix
virtualbox.nix
wavemon.nix
waybar.nix
wireshark.nix
x2goserver.nix treewide: Switch to system users 2019-10-12 22:25:28 +02:00
xfs_quota.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
xonsh.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
xss-lock.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
yabar.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
zmap.nix