nixpkgs/nixos/modules/config
Florian Klink 9be0327a49 nixos/systemd: install sysctl snippets
systemd provides two sysctl snippets, 50-coredump.conf and
50-default.conf.

These enable:
 - Loose reverse path filtering
 - Source route filtering
 - `fq_codel` as a packet scheduler (this helps to fight bufferbloat)

This also configures the kernel to pass coredumps to `systemd-coredump`.
These sysctl snippets can be found in `/etc/sysctl.d/50-*.conf`,
and overridden via `boot.kernel.sysctl`
(which will place the parameters in `/etc/sysctl.d/60-nixos.conf`.

Let's start using these, like other distros already do for quite some
time, and remove those duplicate `boot.kernel.sysctl` options we
previously did set.

In the case of rp_filter (which systemd would set to 2 (loose)), make
our overrides to "1" more explicit.
2019-08-18 17:54:26 +02:00
..
fonts treewide: Remove usage of isNull 2019-04-29 14:05:50 +02:00
gtk nixos gtk.iconCache.enable: default from xserver.enable 2018-11-17 11:18:10 +01:00
krb5 nixos: correct improper uses of mkEnableOption, clarify service descriptions 2018-10-05 13:14:45 +07:00
xdg nixos/xdg/portal: set GTK_USE_PORTAL with lib.mkIf 2019-08-01 17:51:51 -04:00
appstream.nix nixos: add AppStream module 2018-12-04 20:26:25 +00:00
debug-info.nix
gnu.nix
i18n.nix Merge pull request #36424 from jfrankenau/i18n-extra-locale 2018-11-29 16:22:34 +01:00
iproute2.nix alternative for iproute module (#41801) 2018-09-01 20:28:23 +02:00
ldap.nix nixos/ldap: set proper User= and Group= for nslcd service 2019-03-28 13:08:47 +01:00
locale.nix timezone.nix -> locale.nix 2019-08-12 11:56:40 -04:00
malloc.nix nixos/malloc: use ld preload 2019-07-04 19:24:40 +02:00
networking.nix resolvconf service: init 2019-07-15 20:25:39 +03:00
no-x-libs.nix nixos/config/no-x-libs: Fix pinentry arguments 2019-07-24 15:22:07 -05:00
nsswitch.nix nixos/nsswitch: add option to configure nssHosts 2019-02-22 23:00:24 +01:00
power-management.nix
pulseaudio.nix nixos/pulseaudio: Set speex-float-5 as default resample-method 2019-05-31 16:05:39 +01:00
resolvconf.nix resolvconf service: init 2019-07-15 20:25:39 +03:00
shells-environment.nix nixos/shells: enable to nullify already defined aliases 2018-10-14 00:14:49 +09:00
swap.nix
sysctl.nix nixos/systemd: install sysctl snippets 2019-08-18 17:54:26 +02:00
system-environment.nix
system-path.nix nixos/system-path.nix: add 3 to every priority 2019-02-18 21:16:30 -05:00
terminfo.nix
unix-odbc-drivers.nix
update-users-groups.pl
users-groups.nix environment.profiles: fix order of profiles 2019-08-10 10:28:12 +02:00
vpnc.nix
zram.nix zram: revert "change default algorithm to zstd" (#56856) 2019-03-07 02:11:20 +02:00