profiles/hardened: support pure eval mode

This commit is contained in:
Erik Arvstedt 2022-10-22 19:37:48 +02:00
parent 73d2fbb448
commit b616d7ac1b
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
{
{ modulesPath, ... }: {
imports = [
# Source: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/hardened.nix
<nixpkgs/nixos/modules/profiles/hardened.nix>
# Source:
# https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/hardened.nix
(modulesPath + "/profiles/hardened.nix")
];
## Reset some options set by the hardened profile