Latest
This commit is contained in:
parent
beea81e076
commit
20161308ff
8 changed files with 64 additions and 13 deletions
|
@ -173,6 +173,14 @@
|
||||||
url = "https://github.com/rundeck-plugins/ansible-plugin/releases/download/v3.2.2/ansible-plugin-3.2.2.jar"
|
url = "https://github.com/rundeck-plugins/ansible-plugin/releases/download/v3.2.2/ansible-plugin-3.2.2.jar"
|
||||||
refreshPeriod = "{{ $refreshPeriod }}"
|
refreshPeriod = "{{ $refreshPeriod }}"
|
||||||
|
|
||||||
|
### Chef Bento
|
||||||
|
[".local/src/bento"]
|
||||||
|
type = "git-repo"
|
||||||
|
url = "https://github.com/installdoc/bento.git"
|
||||||
|
refreshPeriod = "{{ $refreshPeriod }}"
|
||||||
|
clone.args = ["--depth", "1"]
|
||||||
|
pull.args = ["--ff-only"]
|
||||||
|
|
||||||
### Git Fuzzy
|
### Git Fuzzy
|
||||||
[".local/src/git-fuzzy"]
|
[".local/src/git-fuzzy"]
|
||||||
type = "git-repo"
|
type = "git-repo"
|
||||||
|
|
|
@ -50,7 +50,7 @@ if command -v code > /dev/null; then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
logg warn '`code` executable not available'
|
logg info '`code` executable not available - skipping plugin install process for it'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# @description Check for the presence of the `codium` command in the `PATH` and install extensions for VSCodium if it is present
|
# @description Check for the presence of the `codium` command in the `PATH` and install extensions for VSCodium if it is present
|
||||||
|
@ -66,7 +66,7 @@ if command -v codium > /dev/null; then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
logg warn '`codium` executable not available'
|
logg info '`codium` executable not available - skipping plugin install process for it'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
{{ includeTemplate "universal/logg" }}
|
{{ includeTemplate "universal/logg" }}
|
||||||
|
|
||||||
# @description Only run logic if both Vagrant and VMWare are installed
|
# @description Only run logic if both Vagrant and VMWare are installed
|
||||||
if command -v vagrant > /dev/null && command -v vmware > /dev/null; then
|
if command -v vagrant > /dev/null && command -v vmware-id > /dev/null; then
|
||||||
# @description Vagrant VMWare Utility configuration
|
# @description Vagrant VMWare Utility configuration
|
||||||
if command -v vagrant-vmware-utility > /dev/null; then
|
if command -v vagrant-vmware-utility > /dev/null; then
|
||||||
if [ -f /usr/local/bin/certificates/vagrant-utility.key ]; then
|
if [ -f /usr/local/bin/certificates/vagrant-utility.key ]; then
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
<key>support_url</key>
|
<key>support_url</key>
|
||||||
<string>https://megabyte.space</string>
|
<string>https://megabyte.space</string>
|
||||||
<key>auth_client_id</key>
|
<key>auth_client_id</key>
|
||||||
<string>{{- if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_TEAMS_CLIENT_ID")) -}}{{- includeTemplate "secrets/CLOUDFLARE_TEAMS_CLIENT_ID" | decrypt -}}{{- else -}}{{- env "CLOUDFLARE_TEAMS_CLIENT_ID" -}}{{- end -}}</string>
|
<string>{{- if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_TEAMS_CLIENT_ID")) -}}{{- includeTemplate "secrets/CLOUDFLARE_TEAMS_CLIENT_ID" | decrypt | trim -}}{{- else -}}{{- env "CLOUDFLARE_TEAMS_CLIENT_ID" -}}{{- end -}}</string>
|
||||||
<key>auth_client_secret</key>
|
<key>auth_client_secret</key>
|
||||||
<string>{{- if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_TEAMS_CLIENT_SECRET")) -}}{{- includeTemplate "secrets/CLOUDFLARE_TEAMS_CLIENT_SECRET" | decrypt -}}{{- else -}}{{- env "CLOUDFLARE_TEAMS_CLIENT_SECRET" -}}{{- end -}}</string>
|
<string>{{- if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_TEAMS_CLIENT_SECRET")) -}}{{- includeTemplate "secrets/CLOUDFLARE_TEAMS_CLIENT_SECRET" | decrypt | trim -}}{{- else -}}{{- env "CLOUDFLARE_TEAMS_CLIENT_SECRET" -}}{{- end -}}</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
|
@ -32,6 +32,10 @@ fi
|
||||||
|
|
||||||
### History
|
### History
|
||||||
export HISTFILE="$XDG_STATE_HOME/bash/history"
|
export HISTFILE="$XDG_STATE_HOME/bash/history"
|
||||||
|
if [ -d "$HISTFILE" ]; then
|
||||||
|
# Remove history file if it is incorrectly created as a directory
|
||||||
|
rm -rf "$HISTFILE"
|
||||||
|
fi
|
||||||
|
|
||||||
### /etc/bashrc
|
### /etc/bashrc
|
||||||
if [ -f /etc/bashrc ]; then
|
if [ -f /etc/bashrc ]; then
|
||||||
|
|
|
@ -40,6 +40,43 @@ tasks:
|
||||||
### Copy the password to the clipboard
|
### Copy the password to the clipboard
|
||||||
printf '%s' "$(echo "$selected" | jq -r '.login.password')" | $COPY
|
printf '%s' "$(echo "$selected" | jq -r '.login.password')" | $COPY
|
||||||
|
|
||||||
|
build:packer:
|
||||||
|
desc: Builds Packer boxes using all supported virtualization platform / operating system combinations
|
||||||
|
summary: |
|
||||||
|
# {{ .AppName}} Packer Build
|
||||||
|
|
||||||
|
This command will use Packer to build all the supported virtualization platform / operating system
|
||||||
|
combinations. This command can be used to test {{ .AppName }} on all the various systems that are
|
||||||
|
supported.
|
||||||
|
|
||||||
|
## Supported Virtualization Platforms
|
||||||
|
|
||||||
|
* KVM
|
||||||
|
* Hyper-V
|
||||||
|
* VirtualBox
|
||||||
|
* Parallels
|
||||||
|
* VMWare
|
||||||
|
|
||||||
|
## Supported Operating Systems
|
||||||
|
|
||||||
|
* Archlinux
|
||||||
|
* CentOS
|
||||||
|
* Debian
|
||||||
|
* Fedora
|
||||||
|
* macOS
|
||||||
|
* Ubuntu
|
||||||
|
* Windows
|
||||||
|
|
||||||
|
## Qubes Support
|
||||||
|
|
||||||
|
Qubes can leverage the assets generated from the VirtualBox builds to power HVMs.
|
||||||
|
cmds:
|
||||||
|
- |
|
||||||
|
cd "$HOME/.local/src/bento"
|
||||||
|
packer init -upgrade ./packer_templates
|
||||||
|
logg info 'Building Ubuntu VirtualBox VMs'
|
||||||
|
packer build -var-file=os_pkrvars/ubuntu/ubuntu-22.04-x86_64.pkrvars.hcl ./packer_templates
|
||||||
|
|
||||||
brave:profile:backup:
|
brave:profile:backup:
|
||||||
desc: Backs up the user's {{ .AppName }} profile to the user's S3-backed Restic repository
|
desc: Backs up the user's {{ .AppName }} profile to the user's S3-backed Restic repository
|
||||||
vars:
|
vars:
|
||||||
|
|
|
@ -1810,14 +1810,15 @@ async function installSoftware(pkgsToInstall) {
|
||||||
binLinkRan = true
|
binLinkRan = true
|
||||||
log('info', 'Bin', 'Linking bin aliases to their installed packages')
|
log('info', 'Bin', 'Linking bin aliases to their installed packages')
|
||||||
await linkBin(installOrdersBinLink)
|
await linkBin(installOrdersBinLink)
|
||||||
|
}
|
||||||
for (const script of installOrdersPost) {
|
for (const script of installOrdersPost) {
|
||||||
try {
|
try {
|
||||||
await $` ${script}`
|
log('info', 'Post Hook', script)
|
||||||
|
runCommand('Running post-install hook', script)
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
log('info', 'Post-Install Hook', 'Encountered error while running post-install hook')
|
log('info', 'Post-Install Hook', 'Encountered error while running post-install hook')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
installOrdersPlugins.length && log('info', 'Plugin', 'Installing package-specific plugins')
|
installOrdersPlugins.length && log('info', 'Plugin', 'Installing package-specific plugins')
|
||||||
for (const plugin of installOrdersPlugins) {
|
for (const plugin of installOrdersPlugins) {
|
||||||
await installPlugins(plugin)
|
await installPlugins(plugin)
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
pref('general.config.filename', 'firefox.cfg')
|
// IMPORTANT: Start your code on the 2nd line (this line was copied from firefox.cfg in parent directory)
|
||||||
pref('general.config.obscure_value', 0)
|
pref('general.config.filename', 'firefox.cfg');
|
||||||
|
pref('general.config.obscure_value', 0);
|
Loading…
Reference in a new issue