diff options
author | tv <tv@krebsco.de> | 2019-02-02 09:16:32 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-02-02 09:16:32 +0100 |
commit | bca298e1a8582f5704e1e154ead6d1f866ac3206 (patch) | |
tree | 7ca3a33bc72108b392b35d8c014df0ceda33e75e /lass/2configs/hardening.nix | |
parent | a09bf933da2d31645872f1e2332507da98fb6a00 (diff) | |
parent | e2ae92445cc439203427a58720fc394cf1ca4b44 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'lass/2configs/hardening.nix')
-rw-r--r-- | lass/2configs/hardening.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lass/2configs/hardening.nix b/lass/2configs/hardening.nix new file mode 100644 index 000000000..aee4bf06f --- /dev/null +++ b/lass/2configs/hardening.nix @@ -0,0 +1,11 @@ +{ pkgs, lib, ... }: +with lib; +{ + security.chromiumSuidSandbox.enable = true; + security.lockKernelModules = false; + boot.kernel.sysctl."user.max_user_namespaces" = 63414; + + imports = [ + <nixpkgs/nixos/modules/profiles/hardened.nix> + ]; +} |