I’m doing a bunch of AI stuff that needs compiling to try various unrelated apps. I’m making a mess of config files and extras. I’ve been using distrobox and conda. How could I do this better? Chroot? Different user logins for extra home directories? Groups? Most of the packages need access to CUDA and localhost. I would like to keep them out of my main home directory.

  • Lily33@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    NixOS containers could do what OP’s asking for, but it’ll be trickier with just nix (on other distro). It’ll handle build dependencies and such, but you’ll still need to keep your home or other directories clean some other way.

    • demesisx@infosec.pub
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      OP could use flakes to create these dev environments and clean them up without a trace once done.

          • Lily33@kbin.social
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            1 year ago

            Does NOT delete any files that were written to, for example, ~/.local or ~/.config from dev shell.

            One of OP’s problems was,

            I’m making a mess of config files and extras.