TheLocehiliosan / yadm

Yet Another Dotfiles Manager
https://yadm.io/
GNU General Public License v3.0
5.07k stars 176 forks source link

variables file #410

Closed xenoterracide closed 2 years ago

xenoterracide commented 2 years ago

due to corporate security policy... I've err... accidentally committed a URL to my yadm repo which I keep public. Long story short, I'm interested in being able to import values from a key-value file (maybe a .env that lives in .config/yadm that I don't have to commit, perhaps something that also could be controlled by things like the os, or class. or can the existing config file already do this? I couldn't find documentation on it.

TheLocehiliosan commented 2 years ago

I don't fully understand. You want to import values for what?

xenoterracide commented 2 years ago

I keep my dotfiles in a public repo, encryption is nice and all, but I could use the ability to just store some strings that can be inserted into a template that should never be committed.

TheLocehiliosan commented 2 years ago

Sorry, this is still unclear to me. Do you mean environment variables in your shell? or something else?

For environment variables, you could conditionally include an encrypted file in your shell profile scripts.

github-actions[bot] commented 2 years ago

This issue has been labeled as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been labeled as stale for 7 days with no activity.