9522a360408c19630666b3a6e2437d368f5d35f7
The script piped 'R' (remove old) into beets' duplicate-album prompt while never actually clearing the library DB (it cleared a 0-byte dummy at the wrong path, not beets/beets_library.db). Any two tracks sharing artist+album caused the second import to delete the first's files from the NAS. Import with --singletons so beets never matches against existing albums, and answer 'S' (skip) if a prompt does appear. Drop the useless DB clear.
The reason you are still seeing command not found is that darwin-rebuild does not exist on your computer yet.When doing a brand-new installation of nix-darwin, the darwin-rebuild tool is not part of the standard Nix installer. You have to bootstrap it using the nix run command first, which will dynamically pull the tool from GitHub and execute the initial build.Run the following command from your terminal inside your ~/.dotfiles directory:zshsudo nix run nix-darwin#darwin-rebuild -- switch --flake ~/.dotfiles#lt-mbp
Languages
TypeScript
44.7%
Nix
27.4%
Shell
17.7%
JavaScript
5.2%
Lua
5%