fix: thread selfPath through mkHome for m3taHome.paths.srcRoot
This commit is contained in:
@@ -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 =
|
||||
[
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user