{ inputs, pkgs, ... }: { # We installed Nix via the *Determinate* package (the installer # asks on macOS Tahoe), Determinate manages /etc/nix/nix.conf itself and # nix-darwin must NOT. Thus, we have to set `nix.enable = false;`. nix.enable = false; nixpkgs.config.allowUnfree = true; nixpkgs.overlays = [ inputs.nix4vscode.overlays.default ]; environment.systemPackages = with pkgs; [ wget curl git tree coreutils ]; programs.zsh.enable = true; homebrew = { enable = true; onActivation = { autoUpdate = false; upgrade = false; cleanup = "zap"; }; casks = [ "1password" "1password-cli" "dropbox" "zoom" "spotify" "brave-browser" "gimp" "orbstack" ]; }; # macOS preferences, declaratively. Tweak to taste. # Full option list: https://nix-darwin.github.io/nix-darwin/manual/ system.defaults = { NSGlobalDomain = { KeyRepeat = 2; InitialKeyRepeat = 15; AppleShowAllExtensions = true; ApplePressAndHoldEnabled = false; }; dock = { autohide = true; show-recents = false; mru-spaces = false; }; finder = { AppleShowAllFiles = true; FXPreferredViewStyle = "Nlsv"; ShowPathbar = true; }; trackpad.Clicking = false; }; }