-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I'm on nixos and I'm managing my dotfiles with home-manager, which includes my ~/.gitconfig. This leads to a peculiar problem:
$ fence curl https://example.com
bwrap: Can't create file at /home/happens/.gitconfig: No such file or directory
My gitconfig is a symlink into the nix store, which is stored on a separate drive at /nix. From what I understand, bubblewrap can't bind-mount symlinks that lead to other drives, which means I can't use fence unless I allow writing to my gitignore file.
The easiest solution here would be to just exclude symlinks there, but that has security implications, of course. The cleanest solution would (imho) be to resolve symlinks to their actual path and then mount that path to the original symlink location.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels