Commit Graph

61 Commits

Author SHA1 Message Date
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 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 2f6e3aea89 fix(sops): use NixOS system module on WSL to avoid systemd user service failure 2026-04-13 13:49:27 +08:00
imbytecat 2a1fb40fd3 feat(wsl): enable nix-ld for VSCode Remote and auto-generate sops age key from ed25519 2026-04-13 13:37:06 +08:00
imbytecat e77f561747 chore: update flake inputs, remove unused params and compose.yaml 2026-04-12 16:49:26 +08:00
imbytecat 09acb83206 feat: add exa/context7 secrets, enable greedy cask upgrades 2026-04-11 23:53:27 +08:00
imbytecat 95891aa441 fix(neovim): add statix for lazyvim nix linting 2026-04-11 22:21:01 +08:00
imbytecat 361bb5e952 fix(neovim): fix lazyvim catppuccin colorscheme config and lock lazyvim-nix 2026-04-11 22:16:03 +08:00
imbytecat 43b69e3c27 feat(neovim): switch to LazyVim via lazyvim-nix and add just-lsp 2026-04-11 22:06:53 +08:00
imbytecat 55207459e6 fix(zellij): disable startup tips 2026-04-11 21:16:49 +08:00
imbytecat e6f5b9d9df fix(lazygit): migrate git.paging.pager to git.pagers array for v0.61.0 2026-04-11 20:51:58 +08:00
imbytecat aa1b2ff23c refactor: 简化仓库路径,移除硬编码的 rebuild/update 命令和安装脚本 2026-04-11 17:52:03 +08:00
imbytecat 141335d81b fix: mole 移回 brew(nixpkgs 中标记为 broken) 2026-04-11 17:25:49 +08:00
imbytecat ab2cb95161 refactor: brew CLI 工具迁移至 nix,tailscale 改用 standalone cask 2026-04-11 17:23:36 +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 365f5466fe fix: 覆盖 catppuccin/nix 的 nvim 包跳过 detect_integrations require check,全量启用 catppuccin 2026-04-11 02:36:05 +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 4143694ce7 feat: 添加 Justfile 简化常用命令,安装 just 2026-04-11 01:52:54 +08:00
imbytecat b28b172a01 feat: 集成 sops-nix 机密管理,声明式注入 Fish 环境变量 2026-04-11 01:48:09 +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 215e09910c fix: 修复首次 darwin-rebuild 的构建错误
- nix.enable=false 兼容 Determinate Nix (macOS)
- 禁用 catppuccin.nvim (require check 失败)
- fl-clash 用完整 tap 路径放入 casks
- 修复 SSH/git 废弃选项警告
- 更新 flake.lock
2026-04-10 23:30:35 +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 d846865c9f feat: 声明式管理 Homebrew casks/brews/masApps
- 20 个 casks、11 个 brews、3 个 MAS 应用纳入 nix-darwin 管理
- onActivation.cleanup=zap 自动清理未声明的 brew 包
- 已在 nix 管理的 CLI 工具(biome, btop, fd 等)不再重复声明
- wget 移至 home-manager 实现跨平台可用
- 移除 zellij(已有 tmux)
2026-04-10 22:06:09 +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 c73e36a1be feat: add opencode, comment-checker packages; update README and flake.lock
- Add opencode and comment-checker to home packages
- Package comment-checker via prebuilt GitHub Releases binaries
- Register comment-checker overlay and flake packages output
- Add flake.lock to pin dependency versions
- Update README to match actual repo structure
- Add Node.js version notes in languages.nix
2026-04-03 20:40:00 +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