Update 4 files

- /home/dot_local/bin/executable_install-program
- /home/.chezmoidata.yaml
- /home/.chezmoiscripts/universal/run_onchange_after_30-tor-settings.tmpl
- /software.yml
This commit is contained in:
Brian Zalewski 2023-01-06 00:00:12 +00:00
parent 2040d0ede5
commit 54b45c50e9
4 changed files with 75 additions and 18 deletions

View file

@ -138,6 +138,7 @@ softwareGroups:
- pass - pass
- procs - procs
- prettier - prettier
- privoxy
- recoverpy - recoverpy
- ripgrep - ripgrep
- ripgrep-all - ripgrep-all

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}
### TODO - Add logic from Tor / Privoxy role here
### Add config files to system folder if applicable
echo true

View file

@ -1052,7 +1052,7 @@ async function installPackageList(packageManager, packages) {
if (packageManager === 'appimage') { if (packageManager === 'appimage') {
for (let pkg of packages) { for (let pkg of packages) {
try { try {
if (pkg.substring(0, 3) === 'http' && pkg.slice(-8) === 'AppImage') { if (pkg.substring(0, 4) === 'http' && pkg.slice(-8) === 'AppImage') {
log('info', 'AppImage Install', `Installing ${pkg} from its URL`) log('info', 'AppImage Install', `Installing ${pkg} from its URL`)
runCommand('Installing ${pkg} via apk', `sudo zap install --from ${pkg}`) runCommand('Installing ${pkg} via apk', `sudo zap install --from ${pkg}`)
} else if (pkg.includes('/')) { } else if (pkg.includes('/')) {
@ -1077,7 +1077,7 @@ async function installPackageList(packageManager, packages) {
unbufferPrefix = 'unbuffer' unbufferPrefix = 'unbuffer'
} }
const verboseMode = process.env.DEBUG_MODE === 'on' ? 'vv' : '' const verboseMode = process.env.DEBUG_MODE === 'on' ? 'vv' : ''
await $`ansible 127.0.0.1 -v${verboseMode} -e '{ ansible_connection: "local", ansible_become_user: "${process.env.USER}", ansible_user: "${process.env.USER}", ansible_become_pass: "", install_homebrew: False }' -m include_role -a name=${pkg}` await $`ansible 127.0.0.1 -v${verboseMode} -e '{ ansible_connection: "local", ansible_become_user: "root", ansible_user: "${process.env.USER}", install_homebrew: False }' -m include_role -a name=${pkg}`
log('success', 'Install', `${pkg} successfully installed via ${packageManager}`) log('success', 'Install', `${pkg} successfully installed via ${packageManager}`)
} catch (e) { } catch (e) {
log('error', 'Install Failure', `There was an error installing ${pkg} with Ansible`) log('error', 'Install Failure', `There was an error installing ${pkg} with Ansible`)

View file

@ -93,8 +93,9 @@ installerPreference:
- npm - npm
- pipx - pipx
- gem - gem
- ansible
- appimage - appimage
- script
- ansible
- binary - binary
darwin: darwin:
- whalebrew - whalebrew
@ -106,6 +107,7 @@ installerPreference:
- npm - npm
- pipx - pipx
- gem - gem
- script
- ansible - ansible
- binary - binary
dnf: dnf:
@ -119,8 +121,9 @@ installerPreference:
- npm - npm
- pipx - pipx
- gem - gem
- ansible
- appimage - appimage
- script
- ansible
- binary - binary
freebsd: freebsd:
- pkg - pkg
@ -128,6 +131,7 @@ installerPreference:
- cargo - cargo
- npm - npm
- gem - gem
- script
pacman: pacman:
- flatpak - flatpak
- snap - snap
@ -140,8 +144,9 @@ installerPreference:
- npm - npm
- pipx - pipx
- gem - gem
- ansible
- appimage - appimage
- script
- ansible
- binary - binary
windows: windows:
- choco - choco
@ -152,6 +157,7 @@ installerPreference:
- npm - npm
- pipx - pipx
- gem - gem
- script
- ansible - ansible
- binary - binary
zypper: zypper:
@ -165,8 +171,9 @@ installerPreference:
- npm - npm
- pipx - pipx
- gem - gem
- ansible
- appimage - appimage
- script
- ansible
- binary - binary
softwarePackages: softwarePackages:
@ -548,6 +555,7 @@ softwarePackages:
_service: false _service: false
_when:cask: '! test -d /Applications/balenaEtcher.app' _when:cask: '! test -d /Applications/balenaEtcher.app'
ansible:linux: professormanhattan.etcher ansible:linux: professormanhattan.etcher
appimage: etcher
cask: balenaetcher cask: balenaetcher
choco: etcher choco: etcher
yay: balena-etcher yay: balena-etcher
@ -1061,7 +1069,7 @@ softwarePackages:
_name: cocoapods _name: cocoapods
_service: null _service: null
_when:brew: '! test -d /usr/local/Cellar/cocoapods' _when:brew: '! test -d /usr/local/Cellar/cocoapods'
ansible: professormanhattan.cocoapods ansible:darwin: professormanhattan.cocoapods
brew:darwin: cocoapods brew:darwin: cocoapods
gem:darwin: cocoapods gem:darwin: cocoapods
cointop: cointop:
@ -1383,6 +1391,11 @@ softwarePackages:
_name: Deno _name: Deno
_service: false _service: false
ansible: professormanhattan.deno ansible: professormanhattan.deno
brew: deno
cargo: deno
choco: deno
nix: deno
scoop: deno
desed: desed:
_bin: desed _bin: desed
_desc: Debugger for sed used to demystify and debug the sed scripts, from comfort of terminal _desc: Debugger for sed used to demystify and debug the sed scripts, from comfort of terminal
@ -1972,7 +1985,7 @@ softwarePackages:
_name: Fig _name: Fig
_service: false _service: false
_when:cask: '! test -d "/Applications/Fig.app"' _when:cask: '! test -d "/Applications/Fig.app"'
ansible: professormanhattan.fig ansible:darwin: professormanhattan.fig
cask: fig cask: fig
filebrowser: filebrowser:
_bin: filebrowser _bin: filebrowser
@ -4170,11 +4183,16 @@ softwarePackages:
_bin: mcfly _bin: mcfly
_desc: "[McFly](https://github.com/cantino/mcfly) replaces your default CTRL-r shell history search with an intelligent search engine that takes into account your working directory and the context of recently executed commands. McFly's suggestions are prioritized in real time with a small neural network." _desc: "[McFly](https://github.com/cantino/mcfly) replaces your default CTRL-r shell history search with an intelligent search engine that takes into account your working directory and the context of recently executed commands. McFly's suggestions are prioritized in real time with a small neural network."
_docs: null _docs: null
_github: null _github: https://github.com/cantino/mcfly
_home: null _home: null
_name: McFly _name: McFly
_service: null _service: null
ansible: professormanhattan.mcfly ansible:darwin: professormanhattan.mcfly
ansible:linux: professormanhattan.mcfly
brew: mcfly
port: mcfly
script:darwin: curl -LSfs https://raw.githubusercontent.com/cantino/mcfly/master/ci/install.sh | sh -s -- --git cantino/mcfly
script:linux: curl -LSfs https://raw.githubusercontent.com/cantino/mcfly/master/ci/install.sh | sh -s -- --git cantino/mcfly
microsoft-edge: microsoft-edge:
_bin: null _bin: null
_desc: '[Microsoft Edge](https://www.microsoft.com/en-us/edge) is a cross-platform web browser developed by Microsoft. It was first released for Windows 10 and Xbox One in 2015, then for Android and iOS in 2017, for macOS in 2019, and as a preview for Linux in October 2020.' _desc: '[Microsoft Edge](https://www.microsoft.com/en-us/edge) is a cross-platform web browser developed by Microsoft. It was first released for Windows 10 and Xbox One in 2015, then for Android and iOS in 2017, for macOS in 2019, and as a preview for Linux in October 2020.'
@ -5226,12 +5244,12 @@ softwarePackages:
go: github.com/jessfraz/pony@latest go: github.com/jessfraz/pony@latest
portmaster: portmaster:
_bin: null _bin: null
_desc: "[portmaster](https://safing.io/portmaster/) is a free and open-source application that puts you back in charge over all your computer's network connections." _desc: "[Portmaster](https://safing.io/portmaster/) is a free and open-source application that puts you back in charge over all your computer's network connections."
_docs: https://docs.safing.io/portmaster/architecture/overview _docs: https://docs.safing.io/portmaster/architecture/overview
_github: https://github.com/safing/portmaster _github: https://github.com/safing/portmaster
_home: https://safing.io/ _home: https://safing.io/
_name: portmaster _name: Portmaster
_service: null _service: true
ansible:linux: professormanhattan.portmaster ansible:linux: professormanhattan.portmaster
ansible:windows: professormanhattan.portmaster ansible:windows: professormanhattan.portmaster
postman: postman:
@ -6054,7 +6072,10 @@ softwarePackages:
_home: https://neurobin.org/projects/softwares/unix/shc/ _home: https://neurobin.org/projects/softwares/unix/shc/
_name: shc _name: shc
_service: false _service: false
ansible: professormanhattan.shc ansible:darwin: professormanhattan.shc
ansible:linux: professormanhattan.shc
brew: shc
port: shc
shdoc: shdoc:
_deps:script: _deps:script:
- gawk - gawk
@ -6065,8 +6086,10 @@ softwarePackages:
_home: null _home: null
_name: shdoc _name: shdoc
_service: null _service: null
ansible: professormanhattan.shdoc ansible:darwin: professormanhattan.shdoc
script: cd /tmp && git clone --recursive https://github.com/reconquest/shdoc && cd shdoc && sudo make install ansible:linux: professormanhattan.shdoc
script:darwin: cd /tmp && git clone --recursive https://github.com/reconquest/shdoc && cd shdoc && sudo make install
script:linux: cd /tmp && git clone --recursive https://github.com/reconquest/shdoc && cd shdoc && sudo make install
yay: shdoc-git yay: shdoc-git
shellcheck: shellcheck:
_bin: shellcheck _bin: shellcheck
@ -6850,6 +6873,19 @@ softwarePackages:
pacman: tokei pacman: tokei
pkg: tokei pkg: tokei
scoop: tokei scoop: tokei
privoxy:
_bin: privoxy
_desc: null
_docs: null
_github: null
_home: null
_name: Privoxy
_service: true
apt: privoxy
brew: privoxy
dnf: privoxy
pacman: privoxy
port: privoxy
tor: tor:
_bin: toron _bin: toron
_desc: "[Tor](https://www.torproject.org/) is free and open-source software for enabling anonymous communication by directing Internet traffic through a free, worldwide, volunteer overlay network consisting of more than seven thousand relays in order to conceal a user's location and usage from anyone conducting network surveillance or traffic analysis. On Linux you can combine Tor with [Privoxy](https://www.privoxy.org/) which allows you to tunnel all of your traffic through the Tor network." _desc: "[Tor](https://www.torproject.org/) is free and open-source software for enabling anonymous communication by directing Internet traffic through a free, worldwide, volunteer overlay network consisting of more than seven thousand relays in order to conceal a user's location and usage from anyone conducting network surveillance or traffic analysis. On Linux you can combine Tor with [Privoxy](https://www.privoxy.org/) which allows you to tunnel all of your traffic through the Tor network."
@ -6859,6 +6895,11 @@ softwarePackages:
_name: TOR _name: TOR
_service: null _service: null
ansible:linux: professormanhattan.tor ansible:linux: professormanhattan.tor
apt: tor
brew: tor
dnf: tor
pacman: tor
port: tor
translate: translate:
_bin: trans _bin: trans
_desc: '[Translate Shell](https://github.com/soimort/translate-shell) (formerly Google Translate CLI) is a command-line translator powered by Google Translate (default), Bing Translator, Yandex.Translate, and Apertium. It gives you easy access to these translation engines in your terminal. It is feature-rich and, although there is some overlap, it complements [Normit](https://gitlab.com/megabyte-labs/ansible-roles/normit) well.' _desc: '[Translate Shell](https://github.com/soimort/translate-shell) (formerly Google Translate CLI) is a command-line translator powered by Google Translate (default), Bing Translator, Yandex.Translate, and Apertium. It gives you easy access to these translation engines in your terminal. It is feature-rich and, although there is some overlap, it complements [Normit](https://gitlab.com/megabyte-labs/ansible-roles/normit) well.'
@ -7162,6 +7203,7 @@ softwarePackages:
_service: null _service: null
_when:darwin: '! test -d "/Applications/VMware Fusion.app"' _when:darwin: '! test -d "/Applications/VMware Fusion.app"'
ansible: professormanhattan.vmware ansible: professormanhattan.vmware
cask: vmware-fusion
what-ip: what-ip:
flatpak: org.gabmus.whatip flatpak: org.gabmus.whatip
volta: volta:
@ -7527,7 +7569,7 @@ softwarePackages:
_home: https://developer.apple.com/xcode/ _home: https://developer.apple.com/xcode/
_name: XCode _name: XCode
_service: false _service: false
ansible: professormanhattan.xcode ansible:darwin: professormanhattan.xcode
xurls: xurls:
_bin: xurls _bin: xurls
_desc: Extract urls from text _desc: Extract urls from text
@ -7728,7 +7770,13 @@ softwarePackages:
_home: null _home: null
_name: Zsh _name: Zsh
_service: null _service: null
ansible: professormanhattan.zsh ansible:darwin: professormanhattan.zsh
ansible:linux: professormanhattan.zsh
apt: zsh
brew: zsh
dnf: zsh
pacman: zsh
port: zsh
zx: zx:
_bin: zx _bin: zx
_desc: null _desc: null