diff --git a/configuration.nix b/configuration.nix index f461dd5..14fb385 100644 --- a/configuration.nix +++ b/configuration.nix @@ -24,6 +24,7 @@ ./modules/gaming.nix ./modules/litecoin.nix ./modules/xfce-x11-test.nix + ./modules/projects-bind.nix # ./modules/hostel-wifi.nix # disabled 2026-05-08 — re-enable when needed ]; diff --git a/modules/projects-bind.nix b/modules/projects-bind.nix new file mode 100644 index 0000000..8f1c81d --- /dev/null +++ b/modules/projects-bind.nix @@ -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" ]; + }; +}