{pkgs, inputs, system, ...}: { nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ # terminal ranger (inputs.nixvim.packages.${system}.default) # nix home-manager nix-output-monitor # work tool git (writeShellScriptBin "drs" '' darwin-rebuild switch --flake ~/.config/nixos '') ]; homebrew = { enable = true; onActivation = { autoUpdate = true; cleanup = "zap"; }; casks = [ # internet "spotify" # work "slack" ]; }; # Necessary for using flakes on this system. nix.settings.experimental-features = "nix-command flakes"; # Create /etc/zshrc that loads the nix-darwin environment. programs.zsh.enable = true; # default shell on catalina programs.direnv.enable = true; services.yabai = { enable = true; }; services.skhd.enable = true; # Used for backwards compatibility, please read the changelog before changing. # $ darwin-rebuild changelog system.stateVersion = 4; ids.gids.nixbld = 350; system.defaults.dock = { autohide = true; persistent-apps = []; show-recents = false; static-only = true; tilesize = 32; }; system.defaults.menuExtraClock = { Show24Hour = true; }; # The platform the configuration will be used on. nixpkgs.hostPlatform = system; }