215e09910c
- nix.enable=false 兼容 Determinate Nix (macOS) - 禁用 catppuccin.nvim (require check 失败) - fl-clash 用完整 tap 路径放入 casks - 修复 SSH/git 废弃选项警告 - 更新 flake.lock
20 lines
360 B
Nix
20 lines
360 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
{
|
|
# Determinate Nix manages the daemon on macOS
|
|
nix.enable = !pkgs.stdenv.isDarwin;
|
|
|
|
nix.settings = lib.mkIf (!pkgs.stdenv.isDarwin) {
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
warn-dirty = false;
|
|
};
|
|
|
|
nixpkgs = {
|
|
config.allowUnfree = true;
|
|
overlays = [ (import ../../overlays) ];
|
|
};
|
|
}
|