darwin: fix hardware options not applying

This commit is contained in:
Nico 2025-05-03 16:16:00 +10:00
parent 591a6999ee
commit 3afebf6144

View file

@ -8,9 +8,17 @@
security.pam.enableSudoTouchIdAuth = true;
networking.dns = [
networking = {
knownNetworkServices = [
"Wi-Fi"
"Ethernet Adaptor"
"Thunderbolt Ethernet"
];
dns = [
"1.1.1.1"
];
};
# keyboard
system.defaults.NSGlobalDomain = {
@ -22,7 +30,7 @@
NSAutomaticQuoteSubstitutionEnabled = false;
NSAutomaticSpellingCorrectionEnabled = false;
};
system.keyboard.enableKeyMapping = true;
system.keyboard.remapCapsLockToControl = true;
system.keyboard.swapLeftCtrlAndFn = true;
system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false;