smb hostname truncate + hard limit (#29)
Some checks are pending
quality / changes (push) Waiting to run
quality / Flake Check (push) Blocked by required conditions
quality / Nix Format Check (push) Blocked by required conditions
quality / Deploy netty (push) Blocked by required conditions

This commit is contained in:
Hari 2026-04-01 17:34:59 -04:00 committed by GitHub
parent 3a40e8d634
commit a537e0827a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,28 @@
{ ... }: { config, ... }:
{ {
security.pam.services.sudo_local.touchIdAuth = true; security.pam.services.sudo_local.touchIdAuth = true;
# Karabiner-Elements is managed via Homebrew cask because nix-darwin's # Karabiner-Elements is managed via Homebrew cask because nix-darwin's
# built-in module is broken with 15.7+ (missing karabiner_grabber/observer binaries). # built-in module is broken with 15.7+ (missing karabiner_grabber/observer binaries).
system.defaults.smb.NetBIOSName = builtins.substring 0 15 config.networking.hostName;
system.defaults.smb.ServerDescription = config.networking.hostName;
launchd.daemons."limit.maxfiles" = {
serviceConfig = {
Label = "limit.maxfiles";
ProgramArguments = [
"/bin/launchctl"
"limit"
"maxfiles"
"65536"
"200000"
];
RunAtLoad = true;
KeepAlive = false;
};
};
system.defaults = { system.defaults = {
dock.autohide = true; dock.autohide = true;
dock.show-recents = false; dock.show-recents = false;