Skip to content

Does removing files/dir from initialized devbox suffice? #27

Closed

Description

@jaeyson

Hi! noob question: I've followed the instructions with setting up nix and docker and initialized it (devbox init). Does removing .devbox/ dir and devbox.json suffice?

Activity

  1. loreto commented on Aug 28, 2022

    @loreto
    Contributor

    Hi @jaeyson

    If you're just trying to revert your project to it's pre-devbox state, then yes, that's all you need to delete and your project/directory is no longer using devbox.

    If you're trying to completely uninstall devbox from your machine, then you also need to uninstall nix which adds a few things to your system including /nix/store.

    Which of the two cases are you dealing with?

  2. jaeyson commented on Aug 29, 2022

    @jaeyson
    Author

    Hi @loreto thanks for helping me out. You've answered my question with reverting to pre-devbox state. If we're talking about completely removing nix package manager, this ref https://nixos.org/manual/nix/stable/installation/installing-binary.html#uninstalling and your advice:

    If you're trying to completely uninstall devbox from your machine, then you also need to uninstall nix which adds a few things to your system including /nix/store.

    is enough right?

  3. loreto commented on Aug 29, 2022

    @loreto
    Contributor

    Yes, correct – follow those instructions and you'll remove nix too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions