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 ];
|
|
|
|
|
2023-11-03 04:12:17 +00:00
|
|
|
# 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"
|
|
|
|
];
|
2023-11-03 04:12:17 +00:00
|
|
|
# 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;
|
|
|
|
}
|