1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{ lib, this, ... }: with lib; { nix = { daemonIOLowPriority = false; daemonProcessType = "Standard"; settings.extra-platforms = optionalString (this.system == "aarch64-darwin") '' x86_64-darwin aarch64-darwin ''; }; services.nix-daemon.enable = true; # https://github.com/LnL7/nix-darwin/blob/master/CHANGELOG system.stateVersion = 4; }
Consider giving Nix/NixOS a try! <3