![]() 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) ``` |
||
---|---|---|
.. | ||
bash | ||
command-not-found | ||
digitalbitbox | ||
zsh | ||
adb.nix | ||
atop.nix | ||
autojump.nix | ||
bandwhich.nix | ||
bash-my-aws.nix | ||
bcc.nix | ||
browserpass.nix | ||
captive-browser.nix | ||
ccache.nix | ||
cdemu.nix | ||
chromium.nix | ||
clickshare.nix | ||
criu.nix | ||
dconf.nix | ||
dmrconfig.nix | ||
environment.nix | ||
evince.nix | ||
file-roller.nix | ||
firejail.nix | ||
fish_completion-generator.patch | ||
fish.nix | ||
freetds.nix | ||
fuse.nix | ||
geary.nix | ||
gnome-disks.nix | ||
gnome-documents.nix | ||
gnome-terminal.nix | ||
gnupg.nix | ||
gpaste.nix | ||
gphoto2.nix | ||
iftop.nix | ||
iotop.nix | ||
java.nix | ||
kbdlight.nix | ||
less.nix | ||
liboping.nix | ||
light.nix | ||
mininet.nix | ||
mosh.nix | ||
mtr.nix | ||
nano.nix | ||
nm-applet.nix | ||
npm.nix | ||
oblogout.nix | ||
plotinus.nix | ||
plotinus.xml | ||
qt5ct.nix | ||
screen.nix | ||
seahorse.nix | ||
sedutil.nix | ||
shadow.nix | ||
singularity.nix | ||
slock.nix | ||
spacefm.nix | ||
ssh.nix | ||
ssmtp.nix | ||
sway.nix | ||
sysdig.nix | ||
system-config-printer.nix | ||
systemtap.nix | ||
thefuck.nix | ||
tmux.nix | ||
traceroute.nix | ||
tsm-client.nix | ||
udevil.nix | ||
usbtop.nix | ||
venus.nix | ||
vim.nix | ||
virtualbox.nix | ||
wavemon.nix | ||
waybar.nix | ||
wireshark.nix | ||
x2goserver.nix | ||
xfs_quota.nix | ||
xonsh.nix | ||
xss-lock.nix | ||
yabar.nix | ||
zmap.nix |