mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-17 20:05:07 +00:00
updates
This commit is contained in:
parent
7521df6ee4
commit
570dae7cf2
3 changed files with 14 additions and 11 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
|
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
|
||||||
},
|
},
|
||||||
"permissions": {
|
"permissions": {
|
||||||
"defaultMode": "default"
|
"defaultMode": "bypassPermissions"
|
||||||
},
|
},
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"PreToolUse": [
|
"PreToolUse": [
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,16 @@
|
||||||
{lib, ...}: {
|
{lib, pkgs, ...}: {
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
plugins = with pkgs.tmuxPlugins; [
|
||||||
|
resurrect
|
||||||
|
{
|
||||||
|
plugin = continuum;
|
||||||
|
extraConfig = ''
|
||||||
|
set -g @continuum-restore 'on'
|
||||||
|
set -g @continuum-save-interval '5'
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# custom
|
# custom
|
||||||
|
|
||||||
|
|
@ -109,13 +119,6 @@
|
||||||
|
|
||||||
set-option -g window-status-separator ""
|
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'
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
c = "codex --dangerously-bypass-approvals-and-sandbox";
|
c = "codex --dangerously-bypass-approvals-and-sandbox";
|
||||||
ca = "cursor-agent";
|
ca = "cursor-agent";
|
||||||
cc = "claude --dangerously-skip-permissions";
|
cc = "claude";
|
||||||
ch = "claude-handoff";
|
ch = "claude-handoff";
|
||||||
cl = "clear";
|
cl = "clear";
|
||||||
gc = "git commit";
|
gc = "git commit";
|
||||||
|
|
@ -106,7 +106,7 @@
|
||||||
$path
|
$path
|
||||||
)
|
)
|
||||||
|
|
||||||
ni() { nix profile install "nixpkgs#$1"; }
|
ni() { nix profile add "nixpkgs#$1"; }
|
||||||
|
|
||||||
unalias ga 2>/dev/null
|
unalias ga 2>/dev/null
|
||||||
ga() {
|
ga() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue