This could then be changed to cfg.package.meta.themeInfo.themeDir
Note that outPath.txt shows a symlink settings the corrent name either way, that's because i rewrote the catppuccin-cursors package This is how it looks in my $HOME atm:
~/C/c/home-manager [ master][$⇕][🐚fish]
[22:02:47]❯ ls -lah ~/.icons/
d0755 lillecarl users 56 B Wed Jun 12 19:24:48 2024 .
d0700 lillecarl users 2.0 KB Wed Jun 12 19:24:50 2024 ..
d0755 lillecarl users 22 B Wed Jun 12 19:24:48 2024 default
l0777 lillecarl users 91 B Wed Jun 12 19:24:48 2024 Catppuccin-Mocha-Blue ⇒ /nix/store/ba8vfkb2h5k08laj1b9669n96nkpf22a-home-manager-files/.icons/Catppuccin-Mocha-Blue
(The symlink doesn't exist)