Files
frank-nix/hosts/shared/darwin.nix
T

29 lines
707 B
Nix

{ self, pkgs, ... }:
{
imports = [
./nix-package-manager.nix
../../features/sops.nix
../../features/zsh.nix
];
# 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";
}