fix: thread selfPath through mkHome for m3taHome.paths.srcRoot

This commit is contained in:
2026-05-02 10:18:04 +02:00
parent 510665b359
commit 2cdd18a013
3 changed files with 9 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
# m3ta.home.sets.coding.languages.python.extra = true;
# wayland.windowManager.hyprland.settings.monitor = [ ... ];
#
{inputs}: let
{inputs, selfPath}: let
lib = inputs.nixpkgs.lib;
in {
mkHome = {
@@ -80,6 +80,8 @@ in {
in {
imports =
[
# Paths module — must be first, provides m3taHome.paths.srcRoot
../modules/paths.nix
baseModule
preferencesPath
identityPath
@@ -87,6 +89,9 @@ in {
++ contextImport
++ setImports;
# Set the flake source root for asset path resolution
m3taHome.paths.srcRoot = selfPath;
assertions =
[
{