projects-bind: bind anotherim back from /mnt/data

The root filesystem filled up, so ~/Code/projects/anotherim moved to
/mnt/data. Bind-mount it back to its old path so tools that refer to it
by path (Claude Code project memory, git worktrees, dev flakes) keep
working. /mnt/data is plain ext4, not LUKS; that tradeoff was accepted
for the move.

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-11-08 05:08:46 +04:00
commit e45a28ee7e
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
2 changed files with 14 additions and 0 deletions

13
modules/projects-bind.nix Normal file
View file

@ -0,0 +1,13 @@
# ~/Code/projects/anotherim lives on /mnt/data (root was full): bound back
# to its old path, so tools that know it by path (Claude Code's per-project
# memory, git worktrees, the .dev flakes, interop's aish) see no change.
# /mnt/data is plain ext4, not LUKS: the move accepted that.
{ ... }:
{
fileSystems."/home/asxpi/Code/projects/anotherim" = {
device = "/mnt/data/anotherim";
fsType = "none";
options = [ "bind" "nofail" "x-systemd.requires-mounts-for=/mnt/data" ];
};
}