Skip to content

How to run if existing configuration exists? #2

Open
@Zik42

Description

@Zik42

For example, I am having error when I try to do this.

Existing file '/Users/username/.zshrc' is in the way of '/nix/store/7g1cyv8bzdcy77lffy5fj5zh81g2j0k-home-manager-files/.zshrc'
Existing file '/Users/username/.zshenv' is in the way of '/nix/store/7g1cyv8bzdcy77lffy5fj5zh81g2j0k-home-manager-files/.zshenv'
Please move the above files and try again or use 'home-manager switch -b backup' to back up existing files automatically.

home-manager switch -b backup is not available.
I tried add option home-manager.enable = true; to programs block in home-manger/default.nix file, did rebuild, and did not found executable in result directory to launch home-manager.

I guess it will be helpful to add, not only for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions