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
f6e2f92da3
refactor: remove redundant aliases, comments, and fix lazygit pager config
2026-04-14 13:53:04 +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
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
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
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
b9e8566cee
refactor: replace sops-nix with 1Password CLI for secrets management
2026-04-13 14:57:11 +08:00
imbytecat
55207459e6
fix(zellij): disable startup tips
2026-04-11 21:16:49 +08:00
imbytecat
aa1b2ff23c
refactor: 简化仓库路径,移除硬编码的 rebuild/update 命令和安装脚本
2026-04-11 17:52:03 +08:00
imbytecat
7b0e23e0cf
chore: trash-cli 换 gomi,移除 micro 和无用的 pkgs/default.nix,精简 comment-checker 平台支持
2026-04-11 17:08:43 +08:00
imbytecat
2a8a24668f
fix: atuin 上箭头 filter 改为 host 使新终端可见历史
2026-04-11 16:59:56 +08:00
imbytecat
37751c1586
feat: 用 zellij 替换 tmux 作为终端复用器
2026-04-11 16:33:23 +08:00
imbytecat
86945804d5
feat: starship 提示符改用 catppuccin 彩色分段样式
2026-04-11 16:04:00 +08:00
imbytecat
03b364150f
fix: catppuccin 全量启用,starship 恢复原版配置由 catppuccin 统一管配色
2026-04-11 02:10:56 +08:00
imbytecat
05b6af19ea
fix: starship 改用 Tokyo Night 内联配置,修复跨平台 catppuccin IFD 问题
2026-04-11 02:07:41 +08:00
imbytecat
3bd914a002
feat: 迁移 macOS 到 Lix,统一全平台 nix 配置
...
替换 Determinate Nix 为 Lix (pkgs.lix),移除 nix.enable 条件判断,nix.settings 现在统一应用于所有设备。更新 AGENTS.md 和 README.md 文档。
2026-04-11 00:56:38 +08:00
imbytecat
ac7f9f8b8a
fix: rebuild abbreviation 自动从 hostname 推导 flake attr
...
hostname awesome-mac-mini → flake attr mac-mini
hostname awesome-macbook-air → flake attr macbook-air
WSL 硬编码 #wsl(唯一 NixOS host)
2026-04-11 00:14:17 +08:00
imbytecat
e9146a4e4d
fix: 统一文档与代码中的仓库路径和安装器推荐
...
- AGENTS.md: 移除'README 还指向 Determinate'的过时描述
- fish.nix: rebuild/update 路径从 ~/.config 改为 ~/Developer
- fish.nix: darwin rebuild 加 sudo
- AGENTS.md: repo location 描述与实际一致
2026-04-10 23:59:09 +08:00
imbytecat
3ccdd8d2e2
fix: 修复 nix flake check 和 build 错误
...
- 添加 system.primaryUser (nix-darwin 新要求)
- 全局应用 overlays 解决 comment-checker 找不到的问题
- git/ssh/delta 选项迁移到 home-manager 新 API
- 包改名: dockerfile-language-server, nixfmt, nixd
- neovim withRuby=false, catppuccin homeModules 更名
- 更新 flake.lock (nixpkgs, home-manager, catppuccin)
2026-04-10 22:27:23 +08:00
imbytecat
96f88b3047
chore: 清除 zsh 残留,声明式 git 身份与 SSH config
...
- 移除所有 zsh 引用,补全 fish 迁移
- git.nix: 声明 userName/userEmail,删除 credential.helper store 和内网 sslVerify
- 新增 programs.ssh 声明式配置(id_ed25519, addKeysToAgent)
- 简化 install.sh 为 darwin/nixos 双平台
2026-04-10 21:58:55 +08:00
imbytecat
68184abd8f
refactor: 重构为三设备架构,zsh 迁移至 fish
...
- 新增 darwinConfigurations: mac-mini, macbook-air (aarch64-darwin)
- WSL 统一用户名为 imbytecat,主机名改为 awesome-* 系列
- zsh 全面迁移至 fish (abbrs, 内置补全/高亮, zoxide --cmd cd)
- 激活 nix-darwin 模块: Homebrew, 系统偏好, Touch ID sudo
- 移除 bare/standalone 配置及 catppuccin nixosModule from mkDarwin
2026-04-10 21:48:19 +08:00
imbytecat
e92c7aee31
refactor: 重构为多平台多用户架构,全面提升终端体验
...
- 新增 lib/ 辅助函数(mkNixos/mkDarwin/mkHome),消除硬编码
- 拆分 modules/ 为 nixos/darwin/shared 三层,支持跨平台共享
- 重构 home/ 为 shell/dev/theme 子模块,工具全部迁入用户级
- 深度配置 Tmux/FZF/Atuin/Bat/Eza/Btop/Lazygit/Starship
- 添加 Catppuccin Mocha 统一主题、Nerd Fonts 声明式管理
- 新增 homeConfigurations 输出,支持非 NixOS 系统直装
- 新增 nix-darwin 输入,预留 macOS 扩展路径
- 新增 overlays/ 和 pkgs/ 自定义包基础设施
- 修正 nix-darwin URL(LnL7 → nix-darwin org)
2026-04-03 19:54:17 +08:00