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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b8bee5c9b822
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
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

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    e5965bd View commit details
  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

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    9be0327 View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bafc256 View commit details
  4. Copy the full SHA
    8e923df View commit details

Commits on Aug 19, 2019

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

    nixos/systemd: install sysctl snippets
    flokli authored Aug 19, 2019
    Copy the full SHA
    93a0317 View commit details
Loading