wip with heirline

This commit is contained in:
Prunebutt 2025-12-11 16:26:07 +01:00
parent c42f7a4d8f
commit b291e701a8
5 changed files with 223 additions and 2 deletions

0
mappings/core.nix Normal file
View file

13
mappings/default.nix Normal file
View file

@ -0,0 +1,13 @@
{lib, ...}: let
definitions = lib.attrNames (
lib.filterAttrs
(filename: kind:
filename != "default.nix"
&& (kind == "regular" || kind == "directory")
)
(builtins.readDir ./.)
);
in {
keymaps =
imports = map (file: import ./${file}) definitions;
}