nixpkgs/nixos/modules/virtualisation
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
..
amazon-image.nix nixos aws: use in-kernel ixgbevf driver (#58956) 2019-08-15 02:58:22 +03:00
amazon-init.nix
amazon-options.nix
anbox.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
azure-agent-entropy.patch
azure-agent.nix
azure-bootstrap-blobs.nix
azure-common.nix
azure-config-user.nix
azure-config.nix
azure-image.nix
azure-images.nix
brightbox-config.nix
brightbox-image.nix
cloudstack-config.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
container-config.nix modules/profiles/minimal: sound is disabled by default 2019-01-13 13:47:36 +01:00
containers.nix Typo 2019-06-25 14:46:04 +02:00
docker-containers.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
docker-image.nix nixos/docker-image: add example usage 2018-11-23 15:40:10 +00:00
docker-preloader.nix nixos/dockerPreloader: guard the entire implemetation with mkIf on image list 2019-02-11 23:35:25 +01:00
docker.nix docker: fix typo 2019-05-22 08:40:01 -07:00
ec2-amis.nix ec2-amis.nix: add 19.03 amis 2019-04-18 23:07:14 -04:00
ec2-data.nix
ec2-metadata-fetcher.nix nixos: Add ec2-metadata-fetcher.nix file 2019-02-11 20:58:45 +01:00
ecs-agent.nix
gce-images.nix Update GCE image for 18.09 2018-11-16 11:43:42 +01:00
google-compute-config.nix nixos/systemd: install sysctl snippets 2019-08-18 17:54:26 +02:00
google-compute-image.nix treewide: Remove usage of isNull 2019-04-29 14:05:50 +02:00
grow-partition.nix
hyperv-guest.nix
kvmgt.nix kvmgt service: use modprobe, force-load module 2019-07-08 22:21:09 +03:00
libvirtd.nix libvirtd (nixos): support bridging for user sessions 2019-06-21 11:11:48 +08:00
lxc-container.nix
lxc.nix
lxcfs.nix
lxd.nix
openstack-config.nix openstackImage: set the / fsType to reenable root FS resizing 2019-03-21 10:04:07 +01:00
openvswitch.nix treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
parallels-guest.nix nixos: Don't set LD_LIBRARY_PATH for graphics drivers that don't need it. 2019-05-26 10:23:46 +02:00
qemu-guest-agent.nix
qemu-vm.nix nixos/dockerPreloader: preload docker images (#49379) 2018-11-03 01:00:53 +01:00
rkt.nix
virtualbox-guest.nix
virtualbox-host.nix virtualbox: 5.2.28 -> 6.0.6 2019-05-09 23:36:57 +02:00
virtualbox-image.nix nixos/virtualbox: Fixes configuration to evaluate 2019-04-20 23:04:13 -04:00
vmware-guest.nix Merge pull request #54917 from peterhoeg/f/vmware 2019-02-20 14:34:25 +08:00
xe-guest-utilities.nix
xen-dom0.nix
xen-domU.nix