当用户误删 /etc/nixos 目录下的文件(flake.nix、flake.lock 等)时,从 Nix store 中恢复。
$npx -y skills add kihara777/nixkits --skill recover-nixos-configInstalls into the current project.
Run `npx skills use "https://github.com/kihara777/nixkits" --skill "kihara777/nixkits/recover-nixos-config"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/kihara777/nixkits" that are relevant to the current task. Run `npx skills add "https://github.com/kihara777/nixkits"` and select the relevant skills, then follow their instructions.