home.nix: path with '~' can not be resolved in pure mode #22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
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?
I actually got the same problem. Trying to solve it right now.
Did you find a solution ?
Found it.
you can make it work in this way
Do not forget to change the username, maybe the use of $HOME might work here now.
Using the HOME env variable works as well.