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 = [ imports = [
./backup.nix ./backup.nix
./security-workarounds.nix
]; ];
krebs.announce-activation.enable = true; krebs.announce-activation.enable = true;
krebs.enable = true; krebs.enable = true;

View File

@ -1,10 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with import <stockholm/lib>; with import <stockholm/lib>;
{ {
# http://seclists.org/oss-sec/2017/q1/471 # https://github.com/berdav/CVE-2021-4034
boot.extraModprobeConfig = ''
install dccp /run/current-system/sw/bin/false
'';
security.wrappers.pkexec.source = lib.mkForce (pkgs.writeText "pkexec" ""); security.wrappers.pkexec.source = lib.mkForce (pkgs.writeText "pkexec" "");
} }

View File

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