diff --git a/marker.nix b/marker.nix index 1622c4a..cf8ca8b 100644 --- a/marker.nix +++ b/marker.nix @@ -104,6 +104,7 @@ in pathStyle = { weight = 10; color = "purple"; + geodesic = true; }; }; diff --git a/path.nix b/path.nix index c9f5c66..4f9d23b 100644 --- a/path.nix +++ b/path.nix @@ -24,6 +24,11 @@ let type = colorType; default = "blue"; }; + + geodesic = lib.mkOption { + type = lib.types.bool; + default = false; + }; }; }; @@ -86,6 +91,7 @@ in [ "weight:${toString path.style.weight}" "color:${path.style.color}" + "geodesic:${lib.boolToString path.style.geodesic}" ] ++ builtins.map attrForLocation path.locations; in