diff --git a/home/.chezmoitemplates/secrets/TAILSCALE_AUTH_KEY b/home/.chezmoitemplates/secrets/TAILSCALE_AUTH_KEY index 5f074f80..0ebb58e9 100644 --- a/home/.chezmoitemplates/secrets/TAILSCALE_AUTH_KEY +++ b/home/.chezmoitemplates/secrets/TAILSCALE_AUTH_KEY @@ -1,24 +1,8 @@ -----BEGIN AGE ENCRYPTED FILE----- -YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBPa204TWtzVGVqOTlLRGMw -QkhRa2V4VEpLa2NWSXVkaFFUZmNEUXRyZlJnCjhSQ3hYMFUyQ2xsWnZQOUhxVG9C -ZWx4ckNKVjVKd3c2VG9GS1liV3hOV0EKLS0tIGVOQVdxYUNOT3lCanlKS2J1Rmky -SG02ZWV3QlcreFJ0YkVrMVh2Y2FnMGsKPi1IqzPFU5QX4nwn6tIPPAU6xYhYFE+t -StszmuQIwSd7butP91I866ss2Ov/Kgm+LjtxW7QBR0z2cgZ90PODasUYvWtcATbY -yeJ3PDy5bTPDSeS8+t0Z9Z6UZCfQduT2VL3w2OII9gg6pFciAzZJYW5+buFNA1OE -1BBMmNGw3K/o5xejCfB6hrx53qaWhd+aTCvj3VsZlpaIpCeuD5plKi8cWztO2KVM -5S0qMMfTP5o6Y8WN9jpQTt1yPlWnJ56fXJI7JDv+/pfipMzngRViNvirhJkbpDj3 -e2178xZc+okDpbbgSn8JcNYVbaDLXJvI1awtt5WoLn9Wi1JwefhtMRSziDm8ulfT -f9xFmE6hlGV3ulgBGf11n5pvhhvjRu93LT+BvKGWa7Lj911OUbT8nl3CgqncJno1 -SH3hXNuZbq4pn6MDhboW+EaPpA604NXtpYpcejOryi9TSndkHi3vDZ1B24QIFsNu -0fKCu03+PQyalpPax/6zhJ2+GVGsfxy10UqUAu7I7LwY67APpK1ikRTmeVocS3Lv -VhSJjdydtkzOhtnJkX6SF2aiCspvrGGE4n3RZeLnsyzzm3YOG7JFjEtQvBSyU1Bk -B2QA+hkrDsaE/rbjkLJ61Nwa/1HEKYNSQ41HYFVYszMwpsUbJB8sJRGzFFkIc1oW -WibmhnbYf8s+1Wtu02sSsrfgKu6RfleRMsTVW5rua0ENq6DCFMpb3kZYFLG4Dzk5 -4oJUJzz7AonhsdKw82ntVh9+ZUmhheLREv70PGYDaVYw9YyDZtdyskc423AtIOed -Zom5uuJqQD0dkDa+1qeIRIlGV0ll/hS/ZO2jFCeqqvTBKIPbOBS0eNFVgyU5UQyl -8gr8URzn7qj76v39jWN0EkWL8zC5aYG5UME9osL2a0kDhzg+V0hynEsoMPpyz05Z -CFOz2pv1PpJOg26FnCOHjKVPD8Nbp6YyVPD95sj5K+tOlEw6dDZfow5nrqUoEss/ -88t+3DLIJMOJ87HmeVrR0qMirp70YaOQ5QZU/u/zlWyEOGQQzNj0Fnej4RJ8tsf2 -pR+7v/valy/nKAby9XJDqWbhZPuIarambMOBl51/KmHjpVjtRScxktTCTjaEPANW -th9brw== +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB4eUNoMlc0VXNQS21zaURI +aFVtVGpsOGRWQTI0ZFc5ZmpEVUNZRSs5VTMwCmswKzcwOExpbVNZTHpXTE9hK1RW +N0dkRVRjZXNIYzhXT2tGcmZVMm1XbkkKLS0tIDFCeWJZR1hPN3BISi8wVUo1TmFa +QmVMNnhDUEtGbHNLL0kvcDRpN2FYK2sKjKuAZ9XM2UmZOj9ieANMi6i40MeHCWQV +aT+tQqnolBmenn0J+VVMSalhnc8/GsIx0kyUV2yM6WvfMWwnlzMUlLk4ULFJy2nl +vkooM7iZIf8DNXjAZ17uEJs= -----END AGE ENCRYPTED FILE----- \ No newline at end of file diff --git a/home/dot_config/shell/macos.sh.tmpl b/home/dot_config/shell/macos.sh.tmpl index 2e51b4de..e1b550b7 100644 --- a/home/dot_config/shell/macos.sh.tmpl +++ b/home/dot_config/shell/macos.sh.tmpl @@ -181,7 +181,7 @@ defaults write NSGlobalDomain AppleMetricUnits -bool false sudo defaults write /Library/Preferences/com.apple.loginwindow showInputMenu -bool true # Set the timezone; see `sudo systemsetup -listtimezones` for other values -sudo systemsetup -settimezone "{{ .user.timezone }}" > /dev/null +sudo systemsetup -settimezone "{{ .user.timezone }}" 2>/dev/null 1>&2 # Stop iTunes from responding to the keyboard media keys #launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist 2> /dev/null @@ -197,7 +197,10 @@ sudo pmset -a lidwake 1 sudo pmset -a autorestart 1 # Restart automatically if the computer freezes -sudo systemsetup -setrestartfreeze on +sudo systemsetup -setrestartfreeze on 2>/dev/null 1>&2 + +# Set machine sleep to 30 minutes on battery +sudo pmset -b sleep 30 # Sleep the display after 15 minutes sudo pmset -a displaysleep 15 @@ -205,16 +208,13 @@ sudo pmset -a displaysleep 15 # Disable machine sleep while charging sudo pmset -c sleep 0 -# Set machine sleep to 5 minutes on battery -sudo pmset -b sleep 5 - # Set standby delay to 24 hours (default is 1 hour) sudo pmset -a standbydelay 86400 # Never go into computer sleep mode -sudo systemsetup -setdisplaysleep 30 > /dev/null -sudo systemsetup -setharddisksleep Off > /dev/null -sudo systemsetup -setcomputersleep Off > /dev/null +sudo systemsetup -setharddisksleep Off 2>/dev/null 1>&2 +sudo systemsetup -setcomputersleep Off 2>/dev/null 1>&2 +sudo systemsetup -setdisplaysleep 30 2>/dev/null 1>&2 # Hibernation mode # 0: Disable hibernation (speeds up entering sleep mode) @@ -353,7 +353,8 @@ defaults write com.apple.finder WarnOnEmptyTrash -bool false defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true # Show the ~/Library folder -chflags nohidden ~/Library && xattr -d com.apple.FinderInfo ~/Library +# ERROR: xattr: /Users/bzalewski/Library: No such xattr: com.apple.FinderInfo +# chflags nohidden ~/Library && xattr -d com.apple.FinderInfo ~/Library # Show the /Volumes folder sudo chflags nohidden /Volumes diff --git a/software.yml b/software.yml index e4140b47..16c86203 100644 --- a/software.yml +++ b/software.yml @@ -3260,6 +3260,7 @@ softwarePackages: choco: dotnet yay: dotnet-sdk-bin sdkman-cli: + _bin: sdk _post: | #!/usr/bin/env bash # @file SDKMAN Install