nix-darwin/modules/nix-core.nix
2025-04-04 05:25:20 +09:00

20 lines
354 B
Nix

{ pkgs, ... }:
{
nix.settings = {
# enable flakes globally
experimental-features = ["nix-command" "flakes"];
};
# Allow unfree packages
nixpkgs.config = {
allowUnfree = true;
allowBroken = true;
};
# Auto upgrade nix package and the daemon service.
nix.package = pkgs.nix;
# Enable Determinate
nix.enable = false;
}