diff --git a/modules/default.nix b/modules/default.nix index 67b4380..96b197c 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -13,7 +13,7 @@ in { default = { imports = [ - # Paths — must be first, provides m3ta-home.paths.srcRoot + # Paths — must be first, provides m3taHome.paths.srcRoot ./paths.nix # Profiles @@ -31,6 +31,6 @@ in { ]; # Set the source root for asset path resolution - m3ta-home.paths.srcRoot = selfPath; + m3taHome.paths.srcRoot = selfPath; }; } diff --git a/modules/paths.nix b/modules/paths.nix index a580810..5ace1f8 100644 --- a/modules/paths.nix +++ b/modules/paths.nix @@ -2,9 +2,9 @@ # # Relative paths with ../.. break in the Nix store during pure evaluation. # This module exposes the flake source root so other modules can reference -# assets via config.m3ta-home.paths.srcRoot. +# assets via config.m3taHome.paths.srcRoot. {lib, ...}: { - options.m3ta-home.paths = { + options.m3taHome.paths = { srcRoot = lib.mkOption { type = lib.types.path; description = "Root path of the m3ta-home flake source (set by flake.nix)."; diff --git a/profiles/contexts/desktop/theme/wallpapers.nix b/profiles/contexts/desktop/theme/wallpapers.nix index 2be2657..aba01f1 100644 --- a/profiles/contexts/desktop/theme/wallpapers.nix +++ b/profiles/contexts/desktop/theme/wallpapers.nix @@ -12,7 +12,7 @@ in { config = mkIf cfg { xdg.configFile."hypr/wallpapers" = { # Use the flake source root for pure evaluation compatibility - source = "${config.m3ta-home.paths.srcRoot}/assets/wallpapers"; + source = "${config.m3taHome.paths.srcRoot}/assets/wallpapers"; recursive = true; }; };