move security-workarounds to krebs and cleanup
This commit is contained in:
parent
b749315dc7
commit
7666833495
|
@ -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;
|
||||||
|
|
|
@ -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" "");
|
||||||
}
|
}
|
|
@ -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 =
|
||||||
|
|
Loading…
Reference in a new issue