I am very tired of seeing evaluation warning: Nixpkgs 26.05 will be the last release to support x86_64-darwin every single time I run any nix command. I have the following in my configuration:
I’m using a barely-modified version of the nix-darwin system config template:
{
pkgs,
lib,
inputs,
...
}:
{
nixpkgs.config.allowDeprecatedx86_64Darwin = true;
nix.settings.auto-optimise-store = true;
environment.systemPackages = with pkgs; [
syncthing
nixfmt
];
# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";
# Set Git commit hash for darwin-version.
system.configurationRevision = inputs.self.rev or inputs.self.dirtyRev or null;
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 6;
# The platform the configuration will be used on.
nixpkgs.hostPlatform = "x86_64-darwin";
programs.direnv.enable = true;
}