megabyte-labs / install.doctor

A glorious combination of application / theme settings and a performant cross-platform, desktop-oriented software suite.
https://megabyte.space
Other
99 stars 22 forks source link

Import environment variables into envchain #50

Closed enggnr closed 1 year ago

enggnr commented 1 year ago
ProfessorManhattan commented 1 year ago

Hey @enggnr -- please get to this when you get a chance

enggnr commented 1 year ago

@ProfessorManhattan, helper file created. Please see the details in the my previous comment. Do we need 2 files for this feature?

ProfessorManhattan commented 1 year ago

Hey @enggnr -- sorry for the confusion on this one. Can you actually just create a new script in .chezmoiscripts/universal that goes through each variable in .chezmoitemplates/secrets and loads into the default context of the envchain keychain? That way, we can leave the private.sh file alone and eventually remove it.

Perhaps do this on a different branch?