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
|
|
@ -24,6 +24,7 @@
|
||||||
./modules/gaming.nix
|
./modules/gaming.nix
|
||||||
./modules/litecoin.nix
|
./modules/litecoin.nix
|
||||||
./modules/xfce-x11-test.nix
|
./modules/xfce-x11-test.nix
|
||||||
|
./modules/projects-bind.nix
|
||||||
# ./modules/hostel-wifi.nix # disabled 2026-05-08 — re-enable when needed
|
# ./modules/hostel-wifi.nix # disabled 2026-05-08 — re-enable when needed
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
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