From aa4a6679dc961b516b9b71d7ac6b068177f89321 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Tue, 8 Aug 2023 13:42:10 -0400 Subject: [PATCH] Fixes --- docs/terminal/chezmoi-intro.md | 0 docs/terminal/post-install.md | 16 ++++++++++++++++ home/.chezmoiexternal.toml.tmpl | 2 +- home/dot_config/santa/README.md | 3 +++ home/dot_local/bin/executable_provision.tmpl | 3 +-- 5 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 docs/terminal/chezmoi-intro.md create mode 100644 docs/terminal/post-install.md diff --git a/docs/terminal/chezmoi-intro.md b/docs/terminal/chezmoi-intro.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/terminal/post-install.md b/docs/terminal/post-install.md new file mode 100644 index 00000000..a0488911 --- /dev/null +++ b/docs/terminal/post-install.md @@ -0,0 +1,16 @@ +# Post-Installation + +The script has finished provisioning. Enjoy! You can review the installation logs which are stored at `~/.local/share/install.doctor.$(date +%s).log`. If you come across any issues, have some good ideas, or want to get involved, feel free to open an issue on [GitHub](https://github.com/megabyte-labs/install.doctor) or check out our [Community](https://install.doctor/community). Pull requests / stars are welcome too. + +## Next Steps + +1. Fork the project so you can add your own customizations (using the method described at the top of the README.md) +2. Review the [README.md](https://github.com/megabyte-labs/install.doctor) for a high-level overview +3. Utilize the [Install Doctor documentation](https://install.doctor/docs) for more thorough details +4. Check out the [Chezmoi documentation](https://www.chezmoi.io/) (since this project utilizes it heavily) +5. Open a pull request with your own improvements if you want to contribute +6. Visit [Megabyte Labs](https://megabyte.space) to see what else we are up to + +**bZ out** + +_Note: Some of the settings / applications might require a reboot (or at the very least, a terminal reload)._ diff --git a/home/.chezmoiexternal.toml.tmpl b/home/.chezmoiexternal.toml.tmpl index 9adcaac8..3f426b7e 100644 --- a/home/.chezmoiexternal.toml.tmpl +++ b/home/.chezmoiexternal.toml.tmpl @@ -131,7 +131,7 @@ [".local/share/shell/sensible.bash"] type = "file" url = "https://raw.githubusercontent.com/mrzool/bash-sensible/master/sensible.bash" - refreshPeriod = "https://raw.githubusercontent.com/mrzool/bash-sensible/master/sensible.bash" + refreshPeriod = "{{ $refreshPeriod }}" [".local/share/rsync-time-backup"] type = "git-repo" url = "https://github.com/laurent22/rsync-time-backup.git" diff --git a/home/dot_config/santa/README.md b/home/dot_config/santa/README.md index a3464784..397016b3 100644 --- a/home/dot_config/santa/README.md +++ b/home/dot_config/santa/README.md @@ -4,6 +4,9 @@ Santa is a macOS security tool that helps handle the process of authorizing bina The `.mobileconfig` files in this folder have to be manually clicked on to be loaded or used in conjunction with an managed device provider. For more information on what each `.mobileconfig` does, please see the [Santa Getting Started](https://santa.dev/deployment/getting-started.html) page. +- `local.santa.mobileconfig` - Does not configure Santa to use a centralized server and can be run locally +- `server.santa.mobileconfig` - Relies on a synchronization server (more details on the [Santa site](https://santa.dev)) + The original code used to deploy Santa via Ansible can be seen below which shows how to use `santactl` locally to block apps from loading: ```yaml diff --git a/home/dot_local/bin/executable_provision.tmpl b/home/dot_local/bin/executable_provision.tmpl index 5c049887..1acf84dd 100644 --- a/home/dot_local/bin/executable_provision.tmpl +++ b/home/dot_local/bin/executable_provision.tmpl @@ -1,5 +1,4 @@ #!/usr/bin/env bash - # @file .local/bin/provision # @brief Installs dependencies, clones the Install Doctor repository, and then starts Chezmoi # @description @@ -320,7 +319,7 @@ fi if [ ! -f "${XDG_CONFIG_HOME:-$HOME/.config}/chezmoi/chezmoi.yaml" ]; then # @description Show introduction message if Glow is installed if command -v glow > /dev/null; then - glow "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi/docs/CHEZMOI-INTRO.md" + glow "${XDG_DATA_HOME:-$HOME/.local/share}/chezmoi/docs/terminal/chezmoi-intro.md" fi # @description Prompt for the software group if the `SOFTWARE_GROUP` variable is not defined