From 06f4083f0d8f521dfde6e1961de8354b6df4a92e Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Sun, 21 Jun 2026 23:59:30 -0400 Subject: another new way for wallpapers and lock screen keyboard shortcut --- hosts/RyanMac/configuration.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'hosts/RyanMac/configuration.nix') 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 { ShowStatusBar = true; }; + spaces = { + "spans-displays" = false; # independent spaces per display + }; + # Login Window Settings loginwindow = { GuestEnabled = false; @@ -274,6 +278,11 @@ in { NSGlobalDomain = { # Always show menu bar AppleMenuBarVisibleInFullscreen = true; + + # Option + L lock + NSUserKeyEquivalents = { + "Lock Screen" = "~l"; + }; }; "com.apple.Accessibility" = { @@ -311,6 +320,19 @@ in { # this is fragile so it goes at the bottom echo "Reloading skhd..." sudo -iu ${username} ${pkgs.skhd}/bin/skhd -r + + # 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 + MARK="/opt/.nix-complete" + if [ ! -f "$MARK" ]; then + echo "o0o0o0o0o0o MacOS Initial Deploy Notes o0o0o0o0o0o" + echo "--------------------------------------------------" + echo "The following actions must be taken since they are not configurable by Nix. This must be done only ONCE." + echo "" + echo "1. Create 9 spaces." + echo "2. Set a wallpaper as visible in all spaces." + echo "--------------------------------------------------" + fi + touch "$MARK" ''; } -- cgit v1.3