nixos-config/system/hardened.nix

11 lines
265 B
Nix
Raw Normal View History

{ config, modulesPath, pkgs, lib, ... }:
2020-08-14 23:19:21 +02:00
2020-09-23 13:19:19 +02:00
with lib; {
imports = [ "${modulesPath}/profiles/hardened.nix" ];
2020-08-14 23:19:21 +02:00
boot.loader.systemd-boot.editor = mkDefault false;
2020-08-14 23:19:21 +02:00
# scudo causes Firefox & Tor Browser segfaults
environment.memoryAllocator.provider = "libc";
2020-08-14 23:19:21 +02:00
}