d58c650d59
- flake.nix: NixOS + home-manager + nixos-wsl 三输入 - hosts/wsl + hosts/bare: WSL 与裸机共享模块,分主机配置 - modules/: base(CLI 工具) + dev(工具链+LSP) + docker + locale + shell - home/: zsh(oh-my-zsh+插件+别名) + git(delta) + starship + 工具集成 - scripts/install.sh: 一键安装脚本(WSL/裸机通用) - 原 bun/go 全局包 hack 改为 nixpkgs 声明式管理
17 lines
240 B
Nix
17 lines
240 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./shell.nix
|
|
./git.nix
|
|
];
|
|
|
|
home.stateVersion = "24.11";
|
|
|
|
# ── mise 配置 ──
|
|
xdg.configFile."mise/config.toml".text = ''
|
|
[settings]
|
|
trusted_config_paths = ["/"]
|
|
'';
|
|
}
|