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