several updates

This commit is contained in:
Miguel Palhas
2026-02-25 21:53:21 +00:00
parent 6584bf521f
commit 1e1238a6c1
8 changed files with 45 additions and 19 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ pkgs, inputs, ... }:
{
home.file.".default-npm-packages".text = ''
@anthropic-ai/claude-code
@anthropic-ai/sandbox-runtime
'';
home.packages = with pkgs; [
+18 -1
View File
@@ -31,11 +31,28 @@
},
"sandbox": {
"enabled": true,
"autoAllowBashIfSandboxed": false
"autoAllowBashIfSandboxed": false,
"allowedNetworkHosts": [
"github.com",
"api.github.com",
"raw.githubusercontent.com",
"gist.github.com",
"release-assets.githubusercontent.com"
]
},
"defaultMode": "acceptEdits",
"feedbackSurveyState": {
"lastShownTime": 1754052643456
},
"mcpServers": {
"herd-mcp": {
"type": "http",
"url": "https://mcp.herd.eco/v1"
},
"linear": {
"type": "http",
"url": "https://mcp.linear.app/mcp"
}
},
"$schema": "https://json.schemastore.org/claude-code-settings.json"
}
+6 -4
View File
@@ -17,10 +17,10 @@
nix-direnv.enable = true;
# Add devenv support
# stdlib = ''
# # Source devenv direnvrc for use_devenv function
# eval "$(devenv direnvrc)"
# '';
stdlib = ''
# Source devenv direnvrc for use_devenv function
eval "$(devenv direnvrc)"
'';
};
};
@@ -44,6 +44,8 @@
typst
typstyle
ruby
mkcert
nss.tools
];
@@ -179,6 +179,10 @@ in
# bitwarden, chrome
"float on, match:class chrome-nngceckbapebfimnlniiiahkandclblb-.*"
# claude for chrome
"float on, match:class chrome-fcoeoabgfenejglbffodgkkbkcdhcgfn-.*"
"move cursor -50% -50%, match:class chrome-fcoeoabgfenejglbffodgkkbkcdhcgfn-.*"
# no gaps when only window
"border_size 0, match:float 0, match:workspace w[t1]"
"rounding 0, match:float 0, match:workspace w[t1]"
+3 -3
View File
@@ -8,7 +8,7 @@ let
if grep -q '^image/' <<<"$types"; then
ext=$(grep -m1 '^image/' <<<"$types" | cut -d/ -f2 | cut -d';' -f1)
file="/tmp/clip_$(date +%s).''${ext}"
wl-paste > "$file"
wl-paste --type "image/''${ext}" > "$file"
printf '%q' "$file" | kitty @ send-text --stdin
else
wl-paste --no-newline | kitty @ send-text --stdin
@@ -82,8 +82,7 @@ in
"kitty_mod+i" = "next_tab";
"ctrl+shift+c" = "copy_to_clipboard";
"ctrl+shift+v" = "paste_from_clipboard";
"ctrl+v" = "launch --type=background --allow-remote-control --keep-focus ${clip2path}";
"ctrl+shift+v" = "launch --type=background --allow-remote-control --keep-focus ${clip2path}";
"ctrl+shift+l" = "next_layout";
"ctrl+shift+left" = "resize_window narrower";
@@ -105,6 +104,7 @@ in
extraConfig = ''
include themes/noctalia.conf
cursor_shape block
'';
};
+2 -1
View File
@@ -9,7 +9,8 @@
xdg.configFile."xdg-desktop-portal-termfilechooser/config".text = ''
[filechooser]
cmd=${pkgs.writeShellScript "termfilechooser-yazi" ''
exec kitty -T termfilechooser yazi "$@"
output="$1"
exec kitty -T termfilechooser yazi --chooser-file="$output"
''}
default_dir=$HOME
'';
+2
View File
@@ -24,6 +24,7 @@
ps = "procs";
open = "xdg-open";
o = "xdg-open";
s = "ssh";
v = "nohup neovide &; disown";
# cd
@@ -60,6 +61,7 @@
initContent = ''
[[ -f ~/.secrets.zsh ]] && source ~/.secrets.zsh
[[ -n "$KITTY_WINDOW_ID" ]] && alias ssh="kitten ssh"
export PATH="$HOME/.bin:$PATH"
export PATH="''${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"