diff --git a/config/claude/settings.json b/config/claude/settings.json index 6497d44..c3938ac 100644 --- a/config/claude/settings.json +++ b/config/claude/settings.json @@ -4,7 +4,7 @@ "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" }, "permissions": { - "defaultMode": "default" + "defaultMode": "bypassPermissions" }, "hooks": { "PreToolUse": [ diff --git a/home/tmux.nix b/home/tmux.nix index 335fe90..0441288 100644 --- a/home/tmux.nix +++ b/home/tmux.nix @@ -1,6 +1,16 @@ -{lib, ...}: { +{lib, pkgs, ...}: { programs.tmux = { enable = true; + plugins = with pkgs.tmuxPlugins; [ + resurrect + { + plugin = continuum; + extraConfig = '' + set -g @continuum-restore 'on' + set -g @continuum-save-interval '5' + ''; + } + ]; extraConfig = '' # custom @@ -109,13 +119,6 @@ set-option -g window-status-separator "" - # Plugins (TPM) - set -g @plugin 'tmux-plugins/tpm' - set -g @plugin 'tmux-plugins/tmux-resurrect' - set -g @plugin 'tmux-plugins/tmux-continuum' - - set -g @continuum-save-interval '10' - run '~/.tmux/plugins/tpm/tpm' ''; }; diff --git a/home/zsh.nix b/home/zsh.nix index e330792..cf78e7f 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -25,7 +25,7 @@ shellAliases = { c = "codex --dangerously-bypass-approvals-and-sandbox"; ca = "cursor-agent"; - cc = "claude --dangerously-skip-permissions"; + cc = "claude"; ch = "claude-handoff"; cl = "clear"; gc = "git commit"; @@ -106,7 +106,7 @@ $path ) - ni() { nix profile install "nixpkgs#$1"; } + ni() { nix profile add "nixpkgs#$1"; } unalias ga 2>/dev/null ga() {