Auto-commit: 2026-01-05 18:18:57

This commit is contained in:
2026-01-05 18:18:57 +00:00
parent 60ec9959a2
commit d691c8dc8a

View File

@@ -1,5 +1,20 @@
_: {
imports = [
./mangohud.nix
];
{ lib, ... }:
let
b = builtins;
module_files =
b.readDir ./. |>
lib.filterAttrs (name: type:
( (lib.strings.hasSuffix ".nix" name
&& name != "default.nix"
&& type == "regular" )
|| ( type == "directory"
&& b.pathExists ./${name}/default.nix))
) |>
b.attrNames |>
b.map (f: ./${f});
in
{
imports = module_files;
nixpkgs.config.allowUnfree = true;
}