fix: rename m3ta-home → m3taHome namespace (hyphens break Nix dot access)

This commit is contained in:
2026-05-02 10:15:41 +02:00
parent 4a4dc42a12
commit 510665b359
3 changed files with 5 additions and 5 deletions

View File

@@ -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;
};
}

View File

@@ -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).";