Commit Graph

196 Commits

Author SHA1 Message Date
imbytecat 8c0ada01b9 chore(flake): 更新 catppuccin/nix 和 home-manager 锁定版本 2026-04-15 03:56:33 +08:00
imbytecat 4e7ddff3eb docs(readme): 修正 WSL 首次构建步骤,使用 nix shell 替代过时的 nix-shell 2026-04-15 03:48:22 +08:00
imbytecat ba7e0bb7af feat(fish): 支持 Windows Terminal 新标签页保持当前目录 2026-04-15 03:43:26 +08:00
imbytecat af82b03b3e fix(git): 更新 lazygit pager 配置为新版 git.pagers 格式 2026-04-15 03:38:32 +08:00
imbytecat b84b747b76 fix(shell): 修复 op-env 缓存逻辑——旧变量清理、rm 绕过 gomi、错误信息细化 2026-04-15 03:26:14 +08:00
imbytecat aec2625eaa feat(shell): 1Password 环境变量改为本地缓存,支持离网使用
- op inject 结果缓存到 ~/.cache/op-env/env.fish,shell 启动不再联网
- 新增 op-env-refresh(手动刷新)和 op-env-clear(清除缓存)
- mktemp + mv 原子写入,刷新失败保留旧缓存
- 更新 README 文档匹配新行为
2026-04-15 03:10:06 +08:00
imbytecat 40731eda73 refactor: 移除 justfile 中 linux 命令的默认主机参数 2026-04-14 22:35:12 +08:00
imbytecat bd5b0d9772 docs: 精简 README 和 AGENTS.md,补充 Homebrew 前置步骤 2026-04-14 22:27:47 +08:00
imbytecat 0cc6294e44 feat(darwin): 配置 sudo 免密码认证 2026-04-14 22:04:06 +08:00
imbytecat 883d551f8e feat: add ouch for modern compression/decompression 2026-04-14 20:16:14 +08:00
imbytecat 27b265803c feat(darwin): 添加 iPreview Quick Look 扩展 2026-04-14 19:33:35 +08:00
imbytecat 635ea270aa fix(darwin): 永久关闭 Cyberduck 捐赠弹窗 2026-04-14 19:17:59 +08:00
imbytecat 54c56501e4 feat(darwin): add cyberduck for NAS file transfers 2026-04-14 19:02:13 +08:00
imbytecat 1df2e87a6e feat(macbook-air): add thaw menu bar manager for notched display 2026-04-14 18:53:14 +08:00
imbytecat 2147d2917e feat: add python3 runtime 2026-04-14 17:01:39 +08:00
imbytecat 82a148a894 Revert "feat: add python3 runtime and extend nix-ld libraries"
This reverts commit 7e5e05470a.
2026-04-14 17:01:11 +08:00
imbytecat 7e5e05470a feat: add python3 runtime and extend nix-ld libraries 2026-04-14 16:59:37 +08:00
imbytecat f6e2f92da3 refactor: remove redundant aliases, comments, and fix lazygit pager config 2026-04-14 13:53:04 +08:00
imbytecat 5583970878 docs: update AGENTS.md with shell alias gotcha and tighten guidance 2026-04-14 13:41:50 +08:00
imbytecat beeb9948f4 fix(wsl): remove NixOS default shell aliases for cross-platform consistency 2026-04-14 13:37:16 +08:00
imbytecat 804e96a979 docs: sync README and AGENTS.md with current codebase, rename Justfile to justfile 2026-04-14 13:26:40 +08:00
imbytecat fbb83ff013 refactor(op): switch to service account auth and simplify env injection 2026-04-14 13:11:16 +08:00
imbytecat 8714184fbd refactor(starship): sort language modules alphabetically 2026-04-13 23:03:13 +08:00
imbytecat 895b3c2978 fix(git): use renamed settings.user.{name,email} options 2026-04-13 22:56:14 +08:00
imbytecat 235b81c21e feat(starship): add Bun language module 2026-04-13 22:54:43 +08:00
imbytecat 9a4582a752 feat(starship): add NixOS icon to OS symbols 2026-04-13 22:50:34 +08:00
imbytecat 2cd888e1cf refactor: use idiomatic home-manager options for git user and mise activation 2026-04-13 22:45:36 +08:00
imbytecat 75340604f1 refactor(mise): use programs.mise home-manager module 2026-04-13 22:41:47 +08:00
imbytecat d6a0bf0cae refactor: remove redundant comments from languages.nix 2026-04-13 22:38:17 +08:00
imbytecat be247ff3b9 refactor: KISS cleanup — deduplicate shared config, merge thin files
- Extract fonts, fish.enable, openssh.enable to modules/shared/
- Centralize sshKeys in lib/ via specialArgs
- Merge nixos/base.nix + locale.nix into nixos/default.nix
- Merge home/theme.nix into home/default.nix
- Simplify homeManagerConfig, flake packages output
- Remove redundant vim/wget from NixOS system packages
- Update AGENTS.md to reflect new structure
2026-04-13 22:25:55 +08:00
imbytecat d7e0aaf798 chore: remove stale sops secrets recipe, sync AGENTS.md
- Remove justfile secrets recipe (sops no longer used)
- Add just rollback and WSL bootstrap to AGENTS.md
- Clarify just clean is user-level only
2026-04-13 21:35:55 +08:00
imbytecat 5f7ef35a34 docs: improve WSL bootstrap guide and document justfile commands
- Fix WSL quickstart: use nix-shell -p git for initial clone since fresh NixOS-WSL lacks git
- Rewrite daily usage section to list all justfile commands
- Add rollback recipe to justfile (NixOS only)
- Note sudo requirement for NixOS system-level garbage collection
2026-04-13 21:31:40 +08:00
imbytecat bf01c40ebb feat(ghostty): enable SSH terminfo propagation and install terminfo on NixOS
Enable ssh-env and ssh-terminfo in Ghostty shell integration for automatic
terminfo handling on remote hosts, and add ghostty.terminfo to NixOS system
packages for coverage when Ghostty SSH wrapper is bypassed.
2026-04-13 21:25:35 +08:00
imbytecat 53f8c2ceb3 feat(ghostty): add declarative config with Maple Mono font via Home Manager 2026-04-13 21:13:02 +08:00
imbytecat a1ba07faf5 refactor(eza): delegate base aliases to HM integration, drop redundant flags 2026-04-13 21:03:24 +08:00
imbytecat d2f7210d1a refactor(fish): streamline eza aliases — add l, drop la/lt 2026-04-13 20:42:03 +08:00
imbytecat 77c2190f00 refactor(fish): use shellAliases for Atuin history compatibility, remove xh 2026-04-13 20:34:27 +08:00
imbytecat ed69dba1ca fix(zellij): disable fish shell integration 2026-04-13 20:30:04 +08:00
imbytecat 4acff86a06 feat(dock): instant autohide trigger with fast slide animation 2026-04-13 20:27:03 +08:00
imbytecat 35ac63e068 docs: update AGENTS.md — replace stale sops-nix with 1Password CLI secrets 2026-04-13 20:19:57 +08:00
imbytecat 3c6910cfb1 fix(fish): use --in-file for op inject to fix stdin issue in command substitution 2026-04-13 20:13:38 +08:00
imbytecat 067608f4f8 refactor(fish): use op-env namespace and xdg.configHome for env template path 2026-04-13 18:53:54 +08:00
imbytecat 1e78149a4f fix(1password): move env template out of ~/.config/op to avoid permission conflict
HM creating ~/.config/op/ with 755 prevents op CLI from running (requires 700).
Move template to ~/.config/1password/, use nix-darwin programs._1password module.
2026-04-13 18:48:12 +08:00
imbytecat 09463d0dbb refactor(fish): extract op-env into reloadable function and skip comment lines 2026-04-13 15:46:19 +08:00
imbytecat 82ab946ba1 fix: op path 2026-04-13 15:38:10 +08:00
imbytecat 50808a9ecf fix: use type -q and stdin for op inject to support WSL interop alias 2026-04-13 15:29:13 +08:00
imbytecat 024ea2c676 refactor(wsl): use Windows op.exe via interop instead of native 1password-cli 2026-04-13 15:21:34 +08:00
imbytecat 9e610b89b2 fix(wsl): enable interop to allow executing Windows executables 2026-04-13 15:14:47 +08:00
imbytecat 8f26433357 chore: update flake inputs (catppuccin/nix, home-manager) 2026-04-13 14:59:13 +08:00
imbytecat b9e8566cee refactor: replace sops-nix with 1Password CLI for secrets management 2026-04-13 14:57:11 +08:00