2024-05-01 20:46:28 +00:00
|
|
|
# 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 = {
|
2024-05-01 22:00:23 +00:00
|
|
|
# remember to set the hostname in the kernel command line
|
|
|
|
defaults.smb.NetBIOSName = config.networking.hostName;
|
|
|
|
|
2024-05-01 20:46:28 +00:00
|
|
|
# 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;
|
|
|
|
};
|
|
|
|
}
|