move security-workarounds to krebs and cleanup

This commit is contained in:
lassulus 2022-01-26 13:11:06 +01:00
parent b749315dc7
commit 7666833495
3 changed files with 3 additions and 6 deletions

View File

@ -4,6 +4,7 @@ with import <stockholm/lib>;
{
imports = [
./backup.nix
./security-workarounds.nix
];
krebs.announce-activation.enable = true;
krebs.enable = true;

View File

@ -1,10 +1,6 @@
{ 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
'';
# https://github.com/berdav/CVE-2021-4034
security.wrappers.pkexec.source = lib.mkForce (pkgs.writeText "pkexec" "");
}

View File

@ -8,7 +8,7 @@ with import <stockholm/lib>;
./vim.nix
./zsh.nix
./htop.nix
./security-workarounds.nix
<stockholm/krebs/2configs/security-workarounds.nix>
./wiregrill.nix
{
users.extraUsers =