diff --git a/lib/default.nix b/lib/default.nix index daf83f4d..584933ce 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -27,7 +27,10 @@ let # and imported content of the file as value. # pathsToImportedAttrs = paths: - genAttrs' paths (path: { + let + paths' = filter (hasSuffix ".nix") paths; + in + genAttrs' paths' (path: { name = removeSuffix ".nix" (baseNameOf path); value = import path; }); @@ -87,7 +90,6 @@ in ({ suites, ... }: { imports = with suites; allProfiles ++ allUsers; - security.mitigations.acceptRisk = true; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; diff --git a/overlays/.gitkeep b/overlays/.gitkeep new file mode 100644 index 00000000..e69de29b