On Friday, September 14, 2018 at 10:31:26 PM UTC+1, daniel wrote: > Dear all, > > I am wondering how you all deal with (for example) having an elaborate vim > or emacs environment built up over several decades, and being able > to use it in all of your regular everyday qubes (personal, work, untrusted, > etc, > probably leave vault out). Of course, you expect it to keep evolving as you > figure out how some package solves a problem for you, or you write some > vimscript or elisp to stop an annoyance. > > What is the qubes way to do this? I've considered several solutions from > the simple to the baroque: > > (simple) do the common config in the template vm (but not in /home > or /rw or /usr/local) and replace the relevant config files/dirs in the > actual-work > vm's with symlinks to them. > > (also simple) have a "config" qube where you keep the configs you want to > sync, > but do no actual work there and have no net access. Set up a script to copy > the relevant files/dirs to your working qubes. When you find an annoyance, > fix it there, and then run the script. > > (rather complicated) set up a git server (say in its own dvm) > and have your qubes push commits to it when > you make changes to one of the files-to-sync. That way you can make your > tweaks wherever you happen to be working at the time, and later accept > those changes on the server. Then you can download the updated version > on your working qubes (perhaps by a script). > > All of these have different convenience levels and data-flow implications. > But I feel like maybe they are all wrong and I am overlooking something > obvious. Any thoughts appreciated! > Daniel
You can make use of git without a server: qvm-run -p VMa "git -C /home/user/config bundle create - <revspec>" | qvm-run -p VMb "cat > /tmp/VMa.bundle" and setup a pull on VM from /tmp/VMa bundle and vv. Easy to automate to reasonable comfort level with a simple script in dom0 -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/4cddaf7e-f9e6-44b4-b47b-ff5c736cbfb7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.