summaryrefslogtreecommitdiffstats
path: root/lass/2configs/security-workarounds.nix
blob: 4b0d48671e91370af314550a6dc9913ed66c67c7 (plain)
1
2
3
4
5
6
7
8
9
10
{ config, lib, pkgs, ... }:
with import <stockholm/lib>;
{
  # http://seclists.org/oss-sec/2017/q1/471
  boot.extraModprobeConfig = ''
    install dccp /run/current-system/sw/bin/false
  '';

  security.wrappers.pkexec.source = lib.mkForce (pkgs.writeText "pkexec" "");
}