nixpkgs/nixos/modules
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
..
config nixos/systemd: install sysctl snippets 2019-08-18 17:54:26 +02:00
hardware nixos/hardware.deviceTree: Move things around 2019-08-07 13:51:22 +01:00
i18n/input-method nixos/ibus: do not default-install ibus-qt 2019-08-10 19:37:12 +02:00
installer Merge pull request #66588 from lschuermann/nixos-enter-silent 2019-08-15 10:22:27 +02:00
misc nixos/modules/misc/crashdump: remove idle=poll (fix #66464) 2019-08-13 16:08:22 -07:00
profiles nixos/systemd: install sysctl snippets 2019-08-18 17:54:26 +02:00
programs Merge pull request #66480 from primeos/nixos-fuse 2019-08-14 10:16:02 -04:00
security nixos/hardened: make pti=on overridable 2019-07-30 02:24:56 +02:00
services Merge branch 'master' into flip-map-foreach 2019-08-18 18:00:25 +03:00
system nixos/systemd: install sysctl snippets 2019-08-18 17:54:26 +02:00
tasks Merge branch 'master' into flip-map-foreach 2019-08-18 18:00:25 +03:00
testing nixos/test: remove the stateVersion statement from the test-instrumentation 2019-06-03 15:05:24 +02:00
virtualisation nixos/systemd: install sysctl snippets 2019-08-18 17:54:26 +02:00
module-list.nix Merge pull request #60422 from kwohlfahrt/device-tree 2019-08-16 13:26:48 -04:00
rename.nix Merge branch 'master' into flip-map-foreach 2019-08-18 18:00:25 +03:00