Skip to content

home.nix: path with '~' can not be resolved in pure mode #22

Description

@pjaglom

I tried to follow your youtube tutorial on dotfile management with nix and home-manager, but when I try to follow your home-manager home.nix configuration, I get the following error message:

error: the path '~/.dotfiles/zshrc/.zshrc' can not be resolved in pure mode

I also tried an absolute path /Users/<my_username> and a relative path after moving my dotfile directory inside my nix-darwin directory, but the former didn't work either and the latter caused deletion issues of the dotfile repo when it replaced my nix-darwin directory.

Do you use impure evaluation with nix-darwin/home-manager? Is there another way around this error?

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions