surely this works

This commit is contained in:
caem 2025-01-24 16:14:28 +01:00
parent 6c79d2aadb
commit 1b32a5a22f
Signed by: caem
GPG key ID: 69A830D03203405F
3 changed files with 14 additions and 2 deletions

View file

@ -1,8 +1,8 @@
{ lib, inputs, cfgPath, ... }:
{ pkgs, lib, inputs, cfgPath, ... }:
let
importOverlays = builtins.map
(overlay: import overlay { inherit lib inputs; })
(overlay: import overlay { inherit lib inputs pkgs; })
(builtins.filter
(file: builtins.match ".*\.nix" (builtins.toString file) != null)
(lib.filesystem.listFilesRecursive "${cfgPath}/overlays"));