refactor: complete overhaul

This commit is contained in:
Nick 2024-11-10 01:49:34 -06:00
parent 0541b3d61f
commit d99b004b5c
2 changed files with 24 additions and 54 deletions

View file

@ -14,7 +14,7 @@ let
};
instances = builtins.listToAttrs (map (name: {
name = builtins.substring 0 (builtins.stringLength name - 4) name; # Remove the last 4 characters (".nix")
name = builtins.substring 0 (builtins.stringLength name - 4) name;
value = import (configPath + "/${name}") {inherit instancesFunctions;};
})
(builtins.filter (name: