{ pkgs, ... }: { #nix run nix-darwin -- switch --flake ~/nix-config # List packages installed in system profile. To search by name, run: # $ nix-env -qaP | grep wget environment.systemPackages = [ pkgs.vim pkgs.asitop ]; # Homebrew homebrew.enable = true; homebrew.casks = [ "spotify" "protonvpn" "firefox" "discord" "vmware-horizon-client" "tg-pro" "steam" "orcaslicer" "vscodium" "epic-games" "wine-stable" ]; homebrew.masApps = { # Tailscale = 1475387142; # Infuse = 1136220934; Amphetamine = 937984704; # LunaTask = 1583719331; }; homebrew.global.autoUpdate = true; system.defaults.trackpad.Clicking = true; system.defaults.NSGlobalDomain."com.apple.mouse.tapBehavior" = 1; system.defaults.dock.autohide = false; system.defaults.NSGlobalDomain.AppleInterfaceStyle = "Dark"; system.defaults.NSGlobalDomain."com.apple.keyboard.fnState" = false; security.pam.enableSudoTouchIdAuth = true; # Auto upgrade nix package and the daemon service. services.nix-daemon.enable = true; # nix.package = pkgs.nix; # Necessary for using flakes on this system. nix.settings.experimental-features = "nix-command flakes"; # Allow unfree nixpkgs.config.allowUnfree = true; # Create /etc/zshrc that loads the nix-darwin environment. # programs.zsh.enable = true; # default shell on catalina programs.fish.enable = true; # Used for backwards compatibility, please read the changelog before changing. # $ darwin-rebuild changelog system.stateVersion = 4; # The platform the configuration will be used on. nixpkgs.hostPlatform = "aarch64-darwin"; users.users.mattjallen = { name = "mattjallen"; home = "/Users/mattjallen"; }; }