{ pkgs, lib, ... }: { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "terraform" ]; environment.systemPackages = with pkgs; [ neovim kitty kittysay terraform nixfmt-rfc-style direnv zoxide git-crypt nil ]; programs.direnv = { enable = true; nix-direnv.enable = true; }; # nix.package = pkgs.nix; # 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.fish.enable = true; # Used for backwards compatibility, please read the changelog before changing. # $ darwin-rebuild changelog system.stateVersion = 5; # The platform the configuration will be used on. nixpkgs.hostPlatform = "x86_64-darwin"; }