Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: b8bee5c9b822
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 93a03177f25d
Choose a head ref
  • 5 commits
  • 9 files changed
  • 1 contributor

Commits on Aug 18, 2019

  1. nixos/sysctl: rename /etc/sysctl.d/nixos.conf -> 60-nixos.conf

    sysctl.d(5) recommends prefixing all filenames in /etc/sysctl.d with a
    two-digit number and a dash, to simplify the ordering of the files.
    
    Some packages provide custom files, often with "50-" prefix.
    To ensure user-supplied configuration takes precedence over the one
    specified via `boot.kernel.sysctl`, prefix the file generated there with
    "60-".
    flokli committed Aug 18, 2019
    Copy the full SHA
    e5965bd View commit details
    Browse the repository at this point in the history
  2. 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.
    flokli committed Aug 18, 2019
    Copy the full SHA
    9be0327 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    bafc256 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    8e923df View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2019

  1. Merge pull request #66482 from flokli/systemd-sysctl

    nixos/systemd: install sysctl snippets
    flokli committed Aug 19, 2019
    Copy the full SHA
    93a0317 View commit details
    Browse the repository at this point in the history