templates/darwin/system.nix
Samuel Shuert 3f3ac4306b
Initial work on creating sensible templates
Available templates include the following:
- system: flake based system similar to the default when starting
  nix.
- darwin: flake based darwin system with ajusted nixpkgs and modules to better suit it.
- home-manager: flake and home manager for non darwin systems.

Co-Authored-by: isabelroses <isabel@isabelroses.com>
Co-Authored-by: Skyler Grey <minion@clicks.codes>
Co-Authored-by: Sigmanificient <edhyjox@gmail.com>
Co-Authored-by: AxelSilverdew <7677954+AxelSilverdew@users.noreply.github.com>
2024-05-01 16:55:17 -04:00

13 lines
462 B
Nix

# This section apply settings to the system configuration only available on macOS
# see <https://daiderd.com/nix-darwin/manual/index.html#sec-options> for more options
{
system = {
# Add ability to used TouchID for sudo authentication
security.pam.enableSudoTouchIdAuth = true;
# Create /etc/zshrc that loads the nix-darwin environment.
# this is required if you want to use darwin's default shell - zsh
programs.zsh.enable = true;
};
}