on gentoo for example I have accrued a few files under /etc/portage that to my knowledge just have to live there…

right now I basically rely on my backups for this. but maybe somebody knows a clever way to handle this?

  • eshep@social.trom.tf
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    @gkpy I assume by “dotfiles” you simply mean “config files” as there should be nothing in your /etc/portage directory that’s hidden. For all configs I want to backup, I just keep a copy of them elsewhere. As for portage stuff, I just copy my make.conf, and everything in each repos.conf and package.* directories.

    If you want to simplify a complex solution to an already simple thing, take a look at bare git worktrees.