{ pkgs, myConfig, inputs, ... }: { imports = [ ../../modules/macosDev.nix inputs.sops-nix.darwinModules.sops ]; # List packages installed in system profile. To search by name, run: # $ nix-env -qaP | grep wget environment.systemPackages = with pkgs; [ ]; # Auto upgrade nix package and the daemon service. # services.nix-daemon.enable = true; # services.karabiner-elements.enable = true; # nix.package = pkgs.nix; # Necessary for using flakes on this system. nix.settings.experimental-features = "nix-command flakes"; nix.settings.trusted-users = myConfig.builds.builder.trustedUsers; # Create /etc/zshrc that loads the nix-darwin environment. programs.zsh.enable = true; # default shell on catalina programs.fish.enable = true; # $ darwin-rebuild changelog system.stateVersion = 5; # The platform the configuration will be used on. nixpkgs.hostPlatform = "aarch64-darwin"; security.pam.services.sudo_local.touchIdAuth = true; users.users.${myConfig.general.Username} = { name = "${myConfig.general.Username}"; home = "/Users/${myConfig.general.Username}"; # shell = pkgs.${myConfig.general.terminal.Shell}; # no support for nix-darwin, but can be changed via chsh. }; home-manager.users.${myConfig.general.Username} = import ../../home/macos.nix; }