30 lines
711 B
Nix
30 lines
711 B
Nix
{ self, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./nix-package-manager.nix
|
|
../../features/sops.nix
|
|
];
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
# Only use homebrew for casks.
|
|
homebrew.enable = true;
|
|
|
|
# Enables Touch ID for sudo prompts.
|
|
security.pam.services.sudo_local.touchIdAuth = true;
|
|
|
|
environment = {
|
|
shellAliases = import ../../features/aliases.nix { inherit pkgs; };
|
|
variables = import ../../features/xdg.nix { inherit pkgs; };
|
|
systemPackages = import ../../features/common-pkgs.nix { inherit pkgs; };
|
|
};
|
|
|
|
# Don't touch this unless needed.
|
|
system = {
|
|
configurationRevision = self.rev or self.dirtyRev or null;
|
|
stateVersion = 6;
|
|
};
|
|
|
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
|
}
|