config/systems/aarch64-darwin/mercury/default.nix

32 lines
872 B
Nix
Raw Normal View History

2025-05-28 19:10:50 -04:00
{pkgs, ...}: {
2025-05-28 16:55:13 -04:00
# List packages installed in system profile. To search by name, run:
2025-05-28 19:10:50 -04:00
# $ nix-env -qaP | grep wget
environment.systemPackages = [
pkgs.vim
];
2025-05-28 16:55:13 -04:00
2025-05-28 19:10:50 -04:00
# Auto upgrade nix package
nix.package = pkgs.nix;
2025-05-28 16:55:13 -04:00
2025-05-28 19:10:50 -04:00
# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";
2025-05-28 16:55:13 -04:00
2025-05-28 19:10:50 -04:00
# Create /etc/zshrc that loads the nix-darwin environment.
programs.zsh.enable = true; # default shell on catalina
programs.fish.enable = true;
2025-05-28 16:55:13 -04:00
2025-05-28 19:10:50 -04:00
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 4;
2025-05-28 16:55:13 -04:00
2025-05-28 19:10:50 -04:00
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
users.users.zack = {
2025-05-28 16:55:13 -04:00
name = "zack";
home = "/Users/zack";
2025-05-28 19:10:50 -04:00
};
2025-05-28 16:55:13 -04:00
2025-05-28 19:10:50 -04:00
# The platform the configuration will be used on.
nixpkgs.hostPlatform = "aarch64-darwin";
2025-05-28 16:55:13 -04:00
}