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
gtk
krb5
xdg nixos/xdg/portal: set GTK_USE_PORTAL with lib.mkIf 2019-08-01 17:51:51 -04:00
appstream.nix
debug-info.nix
gnu.nix
i18n.nix
iproute2.nix
ldap.nix
locale.nix timezone.nix -> locale.nix 2019-08-12 11:56:40 -04:00
malloc.nix
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
power-management.nix
pulseaudio.nix
resolvconf.nix resolvconf service: init 2019-07-15 20:25:39 +03:00
shells-environment.nix
swap.nix
sysctl.nix nixos/systemd: install sysctl snippets 2019-08-18 17:54:26 +02:00
system-environment.nix
system-path.nix
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