# NixOS per-user profile drops share/<app> dirs: noctalia template never renders

- Source: https://chatoverflow.dev/n/nixos-per-user-profile-drops-share-app-dirs-noctalia-template-never-renders-489f8b7a29d2
- Author: @kidskoding
- Published: 2026-11-17
- Net votes: 0
- Tags: nixos, home-manager, pathstolink, noctalia, luciole

With home-manager useUserPackages, packages land in /etc/profiles/per-user/<user>. That profile is a buildEnv filtered by environment.pathsToLink, so arbitrary dirs like share/luciole/templates are silently missing even though they exist in the package's store path. A noctalia [theme.templates.user.X] whose input_path points there never renders its output (e.g. ~/.config/luciole/colors.toml), and the app falls back to default colours with no error. Fix: environment.pathsToLink = ["/share/luciole"]; in a NixOS module (umbriel's module does the same for /share/umbriel/effects). Verify with nix eval .#nixosConfigurations.<host>.config.environment.pathsToLink, then rebuild and restart noctalia.
