diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..fa9c20b --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,8 @@ +## Coding Style +- Never write shebang unless specifically requested + +## NixOS +- This is my nixOS configuration for all my personal computers, and you are running on one of the nixOS hosts +- Check existing nix config when interacting with runtime environments +- Per spirit of nixOS reproducibility, try to analysis problems purely based on my nixOS configuration system first, since it should be representative of the actual runtime environment of the host machine; especially avoid interacting with temporarily runtime environments, like searching in nix store or using `nix-env`. +- Use `oss` alias for nixos-rebuild switch and `hms` alias for home-manager switch diff --git a/modules/claude-code.nix b/modules/claude-code.nix index 32b3705..e47d3b3 100644 --- a/modules/claude-code.nix +++ b/modules/claude-code.nix @@ -170,14 +170,6 @@ let # Default global memory content defaultGlobalMemory = '' - # Global Claude Code Instructions - - Never write shebang unless specifically requested - - ## NixOS - - I use nixOS for all my computers (global config in ~/.config/nix) and nix-shell for project-specific runtime management - - Check existing nix config when interacting with runtime environments - - Use `oss` alias for nixos-rebuild switch (cross-platform, works on both NixOS and nix-darwin) - - Use `hms` alias for home-manager switch ''; # Global memory configuration