Latest
This commit is contained in:
parent
075611e7c6
commit
e096b87ae7
6 changed files with 51 additions and 5 deletions
|
@ -1 +1,2 @@
|
|||
openssl
|
||||
pywin32
|
|
@ -1,3 +1,5 @@
|
|||
{{- if lookPath "warp-cli" -}}
|
||||
{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_TEAMS_CLIENT_ID")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_TEAMS_CLIENT_SECRET")) -}}
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
|
@ -16,3 +18,5 @@
|
|||
<string>{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (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>
|
||||
</plist>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
|
|
@ -24,6 +24,11 @@ sudo systemsetup -setremotelogin {{ .macosRemoteLogin }} > /dev/null
|
|||
# settings we’re about to change
|
||||
osascript -e 'tell application "System Preferences" to quit'
|
||||
|
||||
# Change font to Hack for icon support
|
||||
osascript -e "tell application \"Terminal\" to set the font name of window 1 to \"Hack Nerd Font\""
|
||||
osascript -e "tell application \"Terminal\" to set the font size of window 1 to 12"
|
||||
# TODO - Add anti-aliasing
|
||||
|
||||
# Keep-alive: update existing `sudo` time stamp until `.macos` has finished
|
||||
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ if [ -d /Applications ] && [ -d /System ]; then
|
|||
wget -q "$PKG_URL" -O /tmp/wazuh-agent.pkg &> /dev/null
|
||||
logg info 'Setting Wazuh launch parameters in /tmp/wazuh_envs'
|
||||
# https://documentation.wazuh.com/current/user-manual/agent/deployment-variables/deployment-variables-macos.html
|
||||
echo "WAZUH_MANAGER="$WAZUH_MANAGER" && WAZUH_REGISTRATION_SERVER="$WAZUH_MANAGER" && WAZUH_REGISTRATION_PASSWORD="WazuhRegister" && WAZUH_AGENT_NAME="$WAZUH_AGENT_NAME"" > /tmp/wazuh_envs
|
||||
echo 'WAZUH_MANAGER="$WAZUH_MANAGER" && WAZUH_REGISTRATION_SERVER="$WAZUH_MANAGER" && WAZUH_REGISTRATION_PASSWORD="WazuhRegister" && WAZUH_AGENT_NAME="$WAZUH_AGENT_NAME"' > /tmp/wazuh_envs
|
||||
logg info 'Installing the Wazuh agent pkg'
|
||||
sudo installer -pkg /tmp/wazuh-agent.pkg -target /
|
||||
sudo chmod 755 /Library/Ossec
|
||||
|
|
22
software.yml
22
software.yml
|
@ -1841,16 +1841,20 @@ softwarePackages:
|
|||
_short: "Apache Cordova is an open-source mobile development framework that allows developers to build mobile applications using web technologies like HTML, CSS, and JavaScript. "
|
||||
npm: cordova
|
||||
coreutils:
|
||||
_bin:
|
||||
- cat
|
||||
- ls
|
||||
- rm
|
||||
_bin: chown
|
||||
_bin:darwin: gchown
|
||||
_github: false
|
||||
apt: coreutils
|
||||
brew: coreutils
|
||||
dnf: coreutils
|
||||
pacman: coreutils
|
||||
copilot-for-xcode:
|
||||
_app: Copilot for Xcode.app
|
||||
_bin: copilot-for-xcode
|
||||
_desc: The missing GitHub Copilot, Codeium and ChatGPT Xcode Source Editor Extension
|
||||
_github: https://github.com/intitni/CopilotForXcode
|
||||
_name: CoPilot for Xcode
|
||||
cask: copilot-for-xcode
|
||||
croc:
|
||||
_bin: croc
|
||||
_desc: Easily and securely send things from one computer to another
|
||||
|
@ -3286,6 +3290,16 @@ softwarePackages:
|
|||
_name: Fleet CLI
|
||||
_short: "Fleet is an open-source device management platform for macOS, Windows, and Linux systems. "
|
||||
npm: fleetctl
|
||||
flipper:
|
||||
_app: Flipper.app
|
||||
_bin: flipper
|
||||
_desc: A desktop debugging platform for mobile developers.
|
||||
_docs: https://fbflipper.com/docs/getting-started/
|
||||
_github: https://github.com/facebook/flipper
|
||||
_home: https://fbflipper.com/
|
||||
_name: Flipper
|
||||
cask: flipper
|
||||
choco: flipper
|
||||
flow-launcher:
|
||||
_bin: null
|
||||
_desc: Quick file search & app launcher for Windows with community-made plugins
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
{{- if lookPath "warp-cli" -}}
|
||||
{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_TEAMS_CLIENT_ID")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "CLOUDFLARE_TEAMS_CLIENT_SECRET")) -}}
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>enable</key>
|
||||
<true />
|
||||
<key>onboarding</key>
|
||||
<false />
|
||||
<key>organization</key>
|
||||
<string>{{ .host.cloudflare.teamsOrg }}</string>
|
||||
<key>service_mode</key>
|
||||
<string>warp</string>
|
||||
<key>auth_client_id</key>
|
||||
<string>{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (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>
|
||||
<string>{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (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>
|
||||
</plist>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
Loading…
Reference in a new issue