From 46107629ee5f836144e529c74f836c0ceb502dba Mon Sep 17 00:00:00 2001 From: Pierre Martin Date: Wed, 10 Jun 2026 11:45:35 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20enl=C3=A8ve=20.claude=20du=20.gitignore?= =?UTF-8?q?=20global?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/settings.local.json | 39 +++++++++++++++++++++++++++++++++++++ programs/git.nix | 1 - 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 .claude/settings.local.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..f363b26 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,39 @@ +{ + "permissions": { + "allow": [ + "Bash(sudo nixos-rebuild switch:*)", + "Bash(nix-env --list-generations:*)", + "Read(//nix/var/nix/profiles/per-user/pierre/**)", + "Bash(sudo nix-env:*)", + "Bash(lspci:*)", + "Bash(appimage-run:*)", + "Bash(ldd:*)", + "Bash(ncdu --version:*)", + "Bash(ncdu:*)", + "Bash(chmod:*)", + "Bash(steam-run:*)", + "Bash(xargs -I{} sh -c 'echo \"\"\"\"$(stat -c %Y \"\"\"\"{}\"\"\"\" 2>/dev/null) $(du -sh \"\"\"\"{}\"\"\"\" 2>/dev/null | cut -f1) {}\"\"\"\"')", + "Bash(xargs:*)", + "Bash(docker volume ls:*)", + "Bash(find:*)", + "Bash(sort:*)", + "Bash(nix-env:*)", + "Bash(/home/pierre/dotfiles/files/stt-dictate.sh start:*)", + "Bash(whisper-cpp:*)", + "Bash(whisper-cli:*)", + "Bash(i3-msg:*)", + "Bash(git add:*)", + "Bash(cat:*)", + "Bash(git commit:*)", + "Bash(git push:*)", + "Bash(git -C /home/pierre/dotfiles rev-parse HEAD)", + "WebFetch(domain:raw.githubusercontent.com)", + "WebFetch(domain:github.com)", + "Bash(xdotool --version)", + "Bash(wpctl status:*)", + "Bash(systemctl *)" + ], + "deny": [], + "ask": [] + } +} diff --git a/programs/git.nix b/programs/git.nix index 9ecab3a..13d810c 100644 --- a/programs/git.nix +++ b/programs/git.nix @@ -28,7 +28,6 @@ ".envrc" ".direnv" ".ddev" - ".claude/" "CLAUDE.local.md" ];