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:
parent
6942303ef4
commit
e45a28ee7e
2 changed files with 14 additions and 0 deletions
13
modules/projects-bind.nix
Normal file
13
modules/projects-bind.nix
Normal 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" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue