dotfiles.nix/systems/darwin/m1.nix

27 lines
792 B
Nix
Raw Normal View History

2024-07-18 17:31:04 +00:00
{ pkgs, lib, ... }:
2024-07-18 14:16:04 +00:00
{
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;
2024-07-18 17:31:04 +00:00
# https://github.com/LnL7/nix-darwin/issues/970#issuecomment-2165447526
ids.uids.nixbld = lib.mkForce 30000;
2023-10-26 02:37:42 +00:00
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;
}