Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make profile directory configurable #18

Open
xaverdh opened this issue May 30, 2023 · 3 comments
Open

Make profile directory configurable #18

xaverdh opened this issue May 30, 2023 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@xaverdh
Copy link
Contributor

xaverdh commented May 30, 2023

Also /var/lib/tailord may be a better default than /etc/tailord, since these files are generated by the tools and not really 'static' configuration.

@AaronErhardt
Copy link
Owner

How would you suggest to implement this? Should we make this a compile-time constant, a CLI argument or just try to automatically detect config files from different locations?

@xaverdh
Copy link
Contributor Author

xaverdh commented May 31, 2023

How would you suggest to implement this? Should we make this a compile-time constant, a CLI argument or just try to automatically detect config files from different locations?

I think a cli argument / env variable is more flexible. Detecting config files raises the question of what to do if both exist.

@AaronErhardt AaronErhardt added enhancement New feature or request good first issue Good for newcomers labels Jun 3, 2023
@liketechnik
Copy link
Contributor

An env variable could (/should?) be named after the XDG Specification, that is XDG_CONFIG_DIRS (multiple entries, separate by :; akin to PATH).

Although that still does not resolve the question, which location is to be preferred 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants