dotfiles.nix/systems/darwin/m1.nix

25 lines
674 B
Nix
Raw Normal View History

2024-07-18 14:16:04 +00:00
{ pkgs, ... }:
{
2023-10-26 02:37:42 +00:00
environment.systemPackages = [ pkgs.terminal-notifier ];
# networking settings
# TODO: do we need to add Tailscale, ProtonVPN, RNDIS (reMarkable), etc?
2024-07-18 14:16:04 +00:00
networking.knownNetworkServices = [
"USB 10/100/1000 LAN"
"Wi-Fi"
"Thunderbolt Bridge"
];
# TODO: where / how to configure hostname etc?
2023-10-26 02:37:42 +00:00
# manage build users, package, and daemon
nix.configureBuildUsers = true;
services.nix-daemon.enable = true;
# use TouchID for sudo authentication
security.pam.enableSudoTouchIdAuth = true;
# used for backwards compatibility, please read the changelog before changing
# $ darwin-rebuild changelog
system.stateVersion = 4;
}