3ccdd8d2e2
- 添加 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)
22 lines
409 B
Nix
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) ];
|
|
};
|
|
}
|