From 6a2d4ab1d78a527f58d83553e533deee7be2c1e3 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Sat, 22 Oct 2022 19:37:48 +0200 Subject: [PATCH] profiles/hardened: support pure eval mode --- modules/presets/hardened.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/presets/hardened.nix b/modules/presets/hardened.nix index f7521d8..123b0b9 100644 --- a/modules/presets/hardened.nix +++ b/modules/presets/hardened.nix @@ -1,7 +1,8 @@ -{ +{ modulesPath, ... }: { imports = [ - # Source: https://github.com/NixOS/nixpkgs/blob/master/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