diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-06-21 23:59:30 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-06-21 23:59:30 -0400 |
| commit | 06f4083f0d8f521dfde6e1961de8354b6df4a92e (patch) | |
| tree | 4994f31199ae819295346c3ec2cafc69d2611698 /hosts/RyanMac/configuration.nix | |
| parent | 1d64a259eb2f377b7b7dc36263eaf33d4a7cf28c (diff) | |
another new way for wallpapers and lock screen keyboard shortcut
Diffstat (limited to 'hosts/RyanMac/configuration.nix')
| -rw-r--r-- | hosts/RyanMac/configuration.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/hosts/RyanMac/configuration.nix b/hosts/RyanMac/configuration.nix index 66ad874..c964d97 100644 --- a/hosts/RyanMac/configuration.nix +++ b/hosts/RyanMac/configuration.nix | |||
| @@ -237,6 +237,10 @@ in { | |||
| 237 | ShowStatusBar = true; | 237 | ShowStatusBar = true; |
| 238 | }; | 238 | }; |
| 239 | 239 | ||
| 240 | spaces = { | ||
| 241 | "spans-displays" = false; # independent spaces per display | ||
| 242 | }; | ||
| 243 | |||
| 240 | # Login Window Settings | 244 | # Login Window Settings |
| 241 | loginwindow = { | 245 | loginwindow = { |
| 242 | GuestEnabled = false; | 246 | GuestEnabled = false; |
| @@ -274,6 +278,11 @@ in { | |||
| 274 | NSGlobalDomain = { | 278 | NSGlobalDomain = { |
| 275 | # Always show menu bar | 279 | # Always show menu bar |
| 276 | AppleMenuBarVisibleInFullscreen = true; | 280 | AppleMenuBarVisibleInFullscreen = true; |
| 281 | |||
| 282 | # Option + L lock | ||
| 283 | NSUserKeyEquivalents = { | ||
| 284 | "Lock Screen" = "~l"; | ||
| 285 | }; | ||
| 277 | }; | 286 | }; |
| 278 | 287 | ||
| 279 | "com.apple.Accessibility" = { | 288 | "com.apple.Accessibility" = { |
| @@ -311,6 +320,19 @@ in { | |||
| 311 | # this is fragile so it goes at the bottom | 320 | # this is fragile so it goes at the bottom |
| 312 | echo "Reloading skhd..." | 321 | echo "Reloading skhd..." |
| 313 | sudo -iu ${username} ${pkgs.skhd}/bin/skhd -r | 322 | sudo -iu ${username} ${pkgs.skhd}/bin/skhd -r |
| 323 | |||
| 324 | # Notes if we are running for the first time and writes a message for actions that may need to be done on macOS or linux | ||
| 325 | MARK="/opt/.nix-complete" | ||
| 326 | if [ ! -f "$MARK" ]; then | ||
| 327 | echo "o0o0o0o0o0o MacOS Initial Deploy Notes o0o0o0o0o0o" | ||
| 328 | echo "--------------------------------------------------" | ||
| 329 | echo "The following actions must be taken since they are not configurable by Nix. This must be done only ONCE." | ||
| 330 | echo "" | ||
| 331 | echo "1. Create 9 spaces." | ||
| 332 | echo "2. Set a wallpaper as visible in all spaces." | ||
| 333 | echo "--------------------------------------------------" | ||
| 334 | fi | ||
| 335 | touch "$MARK" | ||
| 314 | ''; | 336 | ''; |
| 315 | 337 | ||
| 316 | } | 338 | } |
