chore: organise modules

Organise modules in a significantly better way with categories.
This commit is contained in:
Nico 2025-05-03 16:16:03 +10:00
parent 7444260d7d
commit 3660ef23f1
33 changed files with 77 additions and 76 deletions

View file

@ -0,0 +1,43 @@
{ config, lib, pkgs, ... }:
{
power = {
sleep.computer = "never";
sleep.display = 5;
};
security.pam.services.sudo_local.touchIdAuth = true;
networking = {
knownNetworkServices = [
"Wi-Fi"
"Ethernet Adaptor"
"Thunderbolt Ethernet"
];
dns = [
"1.1.1.1"
];
};
# keyboard
system.defaults.NSGlobalDomain = {
KeyRepeat = 1;
NSAutomaticCapitalizationEnabled = false;
NSAutomaticDashSubstitutionEnabled = false;
NSAutomaticInlinePredictionEnabled = true;
NSAutomaticPeriodSubstitutionEnabled = false;
NSAutomaticQuoteSubstitutionEnabled = false;
NSAutomaticSpellingCorrectionEnabled = false;
};
system.keyboard.enableKeyMapping = true;
system.keyboard.remapCapsLockToControl = true;
system.keyboard.swapLeftCtrlAndFn = true;
system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false;
system.defaults.hitoolbox.AppleFnUsageType = "Do Nothing";
# mouse
system.defaults.".GlobalPreferences"."com.apple.mouse.scaling" = -1.0; # mouse acceleration
}