(modules/flake) improve library loading and implement system class module mappings

This commit is contained in:
Jo 2025-01-29 12:17:34 +01:00
parent 7d16e19c8b
commit f139b88c0b
9 changed files with 144 additions and 73 deletions

View file

@ -1,9 +1,14 @@
{
imports = [
# Automagically imports overlays from "/overlays/overlay-name" and applies them to pkgs.
# Also applies some other useful arguments, like namespace, to all flake modules.
# Applies some useful arguments, like namespace, to all flake modules.
./arguments.nix
# Automagically imports libs from "/lib/lib-name" and applies them to the `lib.${namespace}` or `puzzlevision.lib` module argument.
./lib.nix
# Recursively imports overlays from "/overlays/overlay-name" and applies them to the `pkgs` or `puzzlevision.pkgs` module argument.
# ./overlays.nix
# Automagically imports systems from "/systems/arch-classname/system-name".
./systems.nix
];