diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/RyanMac/configuration.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hosts/RyanMac/configuration.nix b/hosts/RyanMac/configuration.nix index 2c629bc..17ab123 100644 --- a/hosts/RyanMac/configuration.nix +++ b/hosts/RyanMac/configuration.nix | |||
| @@ -89,6 +89,11 @@ in { | |||
| 89 | # System configuration | 89 | # System configuration |
| 90 | time.timeZone = "America/New_York"; | 90 | time.timeZone = "America/New_York"; |
| 91 | 91 | ||
| 92 | power.sleep = { | ||
| 93 | display = 10; | ||
| 94 | computer = 30; | ||
| 95 | }; | ||
| 96 | |||
| 92 | system.defaults = { | 97 | system.defaults = { |
| 93 | NSGlobalDomain = { | 98 | NSGlobalDomain = { |
| 94 | # 24 hour time | 99 | # 24 hour time |
| @@ -113,6 +118,12 @@ in { | |||
| 113 | ApplePressAndHoldEnabled = false; | 118 | ApplePressAndHoldEnabled = false; |
| 114 | }; | 119 | }; |
| 115 | 120 | ||
| 121 | # screensaver/power settings | ||
| 122 | screensaver = { | ||
| 123 | askForPassword = true; | ||
| 124 | askForPasswordDelay = 0; | ||
| 125 | }; | ||
| 126 | |||
| 116 | # Control center stuff | 127 | # Control center stuff |
| 117 | controlcenter = { | 128 | controlcenter = { |
| 118 | BatteryShowPercentage = true; | 129 | BatteryShowPercentage = true; |
