Update 13 files

- /home/.chezmoiscripts/linux/run_onchange_before_01-requirements.sh.tmpl
- /home/.chezmoiscripts/linux/run_onchange_before_10-system-tweaks.sh.tmpl
- /home/.chezmoiscripts/linux/run_onchange_before_11-configure-swap.sh.tmpl
- /home/.chezmoiscripts/linux/run_onchange_before_14-warp.sh.tmpl
- /home/.chezmoiscripts/universal/run_onchange_before_01-requirements.sh.tmpl
- /home/.chezmoiscripts/universal/run_onchange_before_10-system-tweaks.sh.tmpl
- /home/.chezmoiscripts/universal/run_onchange_before_11-configure-swap.sh.tmpl
- /home/.chezmoiscripts/universal/run_onchange_before_14-warp.sh.tmpl
- /home/.chezmoiscripts/darwin/run_onchange_before_20-ensure-user-group.sh.tmpl
- /home/.chezmoiscripts/darwin/run_onchange_before_10-install-darwin-dependencies.sh.tmpl
- /home/.chezmoiscripts/darwin/run_onchange_after_21-set-wallpaper.sh.tmpl
- /home/.chezmoiscripts/darwin/run_onchange_after_20-ensure-zsh-macos.sh.tmpl
- /home/.chezmoiscripts/darwin/run_onchange_after_10-configure-macos.sh.tmpl
This commit is contained in:
Brian Zalewski 2023-04-15 23:16:14 +00:00
parent 2f9a236021
commit 380a546e8d
9 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,4 @@
{{- if (ne .host.distro.family "darwin") -}}
#!/usr/bin/env bash
# @file macOS System Settings
# @brief Applies an optimized set of macOS system configurations intended to provide more sensible system defaults
@ -952,3 +953,4 @@ done
logg success 'Done applying macOS settings'
logg info 'Some of these changes may require a logout/restart to take effect'
{{ end -}}

View file

@ -1,3 +1,4 @@
{{- if (ne .host.distro.family "darwin") -}}
#!/usr/bin/env bash
# @file macOS Ensure ZSH Default Shell
# @brief Ensures ZSH is configured to be used as the default command-line shell
@ -20,3 +21,4 @@ if [[ ! -e /usr/local/bin/zsh ]]; then
fi
{{- end -}}
{{- end }}
{{ end -}}

View file

@ -1,3 +1,4 @@
{{- if (ne .host.distro.family "darwin") -}}
#!/usr/bin/env bash
# @file macOS Set Wallpaper
# @brief Ensures the macOS wallpaper is set to the Betelgeuse wallpaper for macOS.
@ -13,3 +14,4 @@ if command -v m > /dev/null && [ -f "$HOME/.local/src/betelgeuse/share/wallpaper
else
logg warn 'Either `m` or the macOS default wallpaper is missing.'
fi
{{ end -}}

View file

@ -1,3 +1,4 @@
{{- if (ne .host.distro.family "darwin") -}}
#!/usr/bin/env bash
# @file macOS Common Dependencies
# @brief Ensures common system dependencies are installed via Homebrew on macOS
@ -21,3 +22,4 @@ if command -v brew > /dev/null; then
else
logg error '`brew` was not found in the PATH'
fi
{{ end -}}

View file

@ -1,3 +1,4 @@
{{- if (ne .host.distro.family "darwin") -}}
#!/usr/bin/env bash
# @file macOS Ensure User Group
# @brief Ensures that the provisioning user has a group on the system with the same name
@ -10,3 +11,4 @@
### Ensure user has group of same name (required for Macports)
logg info 'Ensuring user has a group with the same name and that it is a member. Sudo privileges may be required'
echo y | sudo dseditgroup -o create "$USER" > /dev/null
{{ end -}}