Files
nix-config/modules/shared/nix.nix
T
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

22 lines
409 B
Nix

{ lib, ... }:
{
nix.settings = {
experimental-features = [
"nix-command"
"flakes"
];
warn-dirty = false;
# 国内镜像(按需取消注释)
# substituters = [
# "https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"
# "https://cache.nixos.org"
# ];
};
nixpkgs = {
config.allowUnfree = true;
overlays = [ (import ../../overlays) ];
};
}