Update 4 files

- /home/.chezmoitemplates/universal/profile-inline
- /home/.chezmoiscripts/_universal/run_before_01-add-temporary-includes.tmpl
- /home/.chezmoidata.yaml
- /software.yml
This commit is contained in:
Brian Zalewski 2023-02-02 02:15:14 +00:00
parent 33091e4726
commit 8f1ffeb675
4 changed files with 8 additions and 29 deletions

View file

@ -577,7 +577,6 @@ softwareGroups:
- java
- libimobiledevice
- rust
- sdkman
- snapcraft
- solidity
- upx

View file

@ -1,26 +1,16 @@
{{- if (ne .host.distro.family "windows") -}}
#!/usr/bin/env bash
### Ensure /tmp/tmp-profile is created and owned by root
if [ ! -f /tmp/tmp-profile ]; then
# Add pre-scaffolding profile to /tmp/tmp-profile so it's easier to navigate through scripts
cat <<'EOF' > /tmp/tmp-profile
### Ensure /tmp/tmp-profile is created
# Add pre-scaffolding profile to /tmp/tmp-profile so it's easier to navigate through scripts
cat <<'EOF' > /tmp/tmp-profile
{{ includeTemplate "universal/profile-inline" }}
EOF
# Make /tmp/tmp-profile owned by root to prevent tampering
sudo chown root /tmp/tmp-profile
fi
### Ensure /tmp/tmp-logg is created and owned by root
if [ ! -f /tmp/tmp-logg ]; then
# Add pre-scaffolding /tmp/tmp-logg
cat <<'EOF' > /tmp/tmp-logg
# Add pre-scaffolding /tmp/tmp-logg
cat <<'EOF' > /tmp/tmp-logg
{{ includeTemplate "universal/logg-inline" }}
EOF
# Make /tmp/tmp-logg owned by root to prevent tampering
sudo chown root /tmp/tmp-logg
fi
{{ end -}}

View file

@ -27,6 +27,9 @@ elif [ -f "/opt/homebrew/bin/brew" ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
### SDKMan
export SDKMAN_DIR="$XDG_DATA_HOME/sdkman"
### Volta
export VOLTA_HOME="$XDG_DATA_HOME/volta"
export PATH="$VOLTA_HOME/bin:$PATH"

View file

@ -6659,19 +6659,6 @@ softwarePackages:
github: github.com/chmln/sd
pacman: sd
pkg: sd
_service: false
sdkman:
_bin: sdkman
_desc: '[SDKMAN](https://sdkman.io/) is a tool for managing multiple versions of various Software Development Kits (SDKs) for the JVM on any UNIX-based system. It provides a convenient command line interface for installing, switching, removing and listing candidates. With SDKMAN, you can install and manage dependencies like Java, Groovy, Scala, Kotlin, and Ceylon. You can also use it to manage Ant, Gradle, Grails, Maven, SBT, Spark, Spring Boot, Vert.x, and many [other SDKs](https://sdkman.io/sdks).'
_docs: https://sdkman.io/install
_github: https://github.com/sdkman/sdkman-cli
_home: https://sdkman.io/
_name: SDKMAN
_note: SDKMan is installed via .chezmoiscripts
# ansible: professormanhattan.sdkman
_service: false
_type: cli
seconion:
_bin: null
_desc: '[Security Onion](https://securityonionsolutions.com/) is a free and open source Linux distribution for threat hunting, enterprise security monitoring, and log management. It includes Elasticsearch, Logstash, Kibana, Snort, Suricata, Bro, Wazuh, Sguil, Squert, NetworkMiner, and many other security tools. The easy-to-use Setup wizard allows you to build an army of distributed sensors for your enterprise in minutes! This role takes it a step further and automates the whole setup process.'