darwin: fix hardware options not applying
This commit is contained in:
parent
591a6999ee
commit
3afebf6144
1 changed files with 12 additions and 4 deletions
|
|
@ -8,9 +8,17 @@
|
||||||
|
|
||||||
security.pam.enableSudoTouchIdAuth = true;
|
security.pam.enableSudoTouchIdAuth = true;
|
||||||
|
|
||||||
networking.dns = [
|
networking = {
|
||||||
"1.1.1.1"
|
knownNetworkServices = [
|
||||||
];
|
"Wi-Fi"
|
||||||
|
"Ethernet Adaptor"
|
||||||
|
"Thunderbolt Ethernet"
|
||||||
|
];
|
||||||
|
|
||||||
|
dns = [
|
||||||
|
"1.1.1.1"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# keyboard
|
# keyboard
|
||||||
system.defaults.NSGlobalDomain = {
|
system.defaults.NSGlobalDomain = {
|
||||||
|
|
@ -22,7 +30,7 @@
|
||||||
NSAutomaticQuoteSubstitutionEnabled = false;
|
NSAutomaticQuoteSubstitutionEnabled = false;
|
||||||
NSAutomaticSpellingCorrectionEnabled = false;
|
NSAutomaticSpellingCorrectionEnabled = false;
|
||||||
};
|
};
|
||||||
|
system.keyboard.enableKeyMapping = true;
|
||||||
system.keyboard.remapCapsLockToControl = true;
|
system.keyboard.remapCapsLockToControl = true;
|
||||||
system.keyboard.swapLeftCtrlAndFn = true;
|
system.keyboard.swapLeftCtrlAndFn = true;
|
||||||
system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false;
|
system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue