fix: make inputs self-contained

This commit is contained in:
m3tam3re
2026-06-06 13:13:58 +02:00
parent 5c92a9f1c6
commit add002e05c
6 changed files with 70 additions and 68 deletions
+5 -3
View File
@@ -8,15 +8,15 @@
{
inputs,
selfPath,
}: let
lib = inputs.nixpkgs.lib;
in {
}: {
default = {
imports = [
# External modules
inputs.agent-lib.homeManagerModules.default
inputs.dms.homeModules.default
inputs.dms-plugin-registry.homeModules.default
inputs.nix-colors.homeManagerModules.default
inputs.m3ta-nixpkgs.homeManagerModules.default
# Paths — must be first, provides "m3ta-home".paths.srcRoot
./paths.nix
@@ -34,6 +34,8 @@ in {
./../users/m3tam3re/identities/work.nix
];
_module.args.m3taHomeInputs = inputs;
# Set the source root for asset path resolution
"m3ta-home".paths.srcRoot = selfPath;
};