{ outputs, pkgs, ... }: let py_ver = "3.10"; in { imports = [ # ../fish.nix # ./sketchybar.nix # ../../modules/darwin/aerospace ]; nixpkgs = { overlays = builtins.attrValues outputs.overlays; config = { allowUnfree = true; allowUnsupportedSystem = true; }; hostPlatform = "aarch64-darwin"; }; nix.enable = false; # nix.settings.experimental-features = ["nix-command" "flakes"]; # nix.extraOptions = # '' # auto-optimise-store = true # experimental-features = nix-command flakes # '' # + lib.optionalString (pkgs.system == "aarch64-darwin") '' # extra-platforms = x86_64-darwin aarch64-darwin # ''; users.knownUsers = ["tyler.mayoff"]; users.users."tyler.mayoff" = { uid = 502; shell = pkgs.fish; }; system.primaryUser = "tyler.mayoff"; security.pam.services.sudo_local.touchIdAuth = true; environment.systemPackages = with pkgs; [ pinentry_mac fnm sketchybar lua jdk17 conan gcovr lcov deno basedpyright taplo autoraise ]; homebrew = { enable = true; onActivation = { autoUpdate = true; # Fetch the newest stable branch of Homebrew's git repo upgrade = true; # Upgrade outdated casks, formulae, and App Store apps # 'zap': uninstalls all formulae(and related files) not listed in the generated Brewfile # cleanup = "zap"; }; brews = [ # "autoconf" # "automake" # "direnv" # "fastlane" # "freetype" # "git-lfs" # "libtool" # "m4" # "nasm" # "pkg-config" # "python@${py_ver}" # "rsync" # "jq" # "pipenv" # "ffmpeg" # "wget" # "ios-deploy" # "unzip" # "yarn" # "xz" # "llvm@20" ]; casks = [ "android-studio" "notunes" "hammerspoon" "claude-code" "firefox" "gpg-suite" "libreoffice" "cursor" ]; }; # services.jankyborders = { # enable = true; # active_color = "0xFF95bcf9"; # }; programs.fish.enable = true; programs.zsh.enable = false; programs.bash.enable = false; system.stateVersion = 5; }