l 2: add security-workarounds

This commit is contained in:
lassulus 2017-02-26 00:02:06 +01:00
parent 8a3515e1a6
commit 21ccde0d72
2 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, pkgs, ... }:
with import <stockholm/lib>;
{
imports = [
@ -11,6 +10,7 @@ with import <stockholm/lib>;
../2configs/vim.nix
../2configs/monitoring/client.nix
./backups.nix
./security-workarounds.nix
{
users.extraUsers =
mapAttrs (_: h: { hashedPassword = h; })

View File

@ -0,0 +1,8 @@
{ config, pkgs, ... }:
with import <stockholm/lib>;
{
# http://seclists.org/oss-sec/2017/q1/471
boot.extraModprobeConfig = ''
install dccp /run/current-system/sw/bin/false
'';
}