35 lines
857 B
Nix
35 lines
857 B
Nix
{
|
|
pkgs,
|
|
myConfig,
|
|
inputs,
|
|
system,
|
|
specialArgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
../../modules/default/darwin.nix
|
|
];
|
|
environment.systemPackages = [];
|
|
|
|
nix.settings.experimental-features = "nix-command flakes";
|
|
# nix.settings.trusted-users = myConfig.optionals.Builds.trustedUsers;
|
|
|
|
programs.zsh.enable = true; # default shell on catalina
|
|
programs.fish.enable = true;
|
|
|
|
system.stateVersion = 5;
|
|
|
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
|
security.pam.services.sudo_local.touchIdAuth = true;
|
|
|
|
users.users.${myConfig.macos.Username} = {
|
|
name = "${myConfig.macos.Username}";
|
|
home = "/Users/${myConfig.macos.Username}";
|
|
};
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.extraSpecialArgs = specialArgs;
|
|
home-manager.users.${myConfig.macos.Username} = import ../../home/darwin.nix;
|
|
}
|