stockholm/lass/2configs/hardening.nix
2019-01-28 23:02:48 +01:00

12 lines
245 B
Nix

{ 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>
];
}