Update 6 files

- /home/.chezmoiscripts/universal/run_onchange_after_07-docker-plugins.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_14-timeshift.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_14-keybase.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_24-vpn-linux.tmpl
- /software.yml
- /docs/TODO.md
This commit is contained in:
Brian Zalewski 2023-01-30 08:06:59 +00:00
parent 098ace6509
commit 9f775f5e6d
6 changed files with 14 additions and 12 deletions

View file

@ -9,6 +9,10 @@ https://github.com/cloudflare/boringtun
GCE_CREDENTIALS_FILE: "{{ joinPath .chezmoi.homeDir ".config" "gcp.json" }}" GCE_CREDENTIALS_FILE: "{{ joinPath .chezmoi.homeDir ".config" "gcp.json" }}"
GCE_SERVICE_ACCOUNT_EMAIL: "molecule@megabyte-labs.iam.gserviceaccount.com" GCE_SERVICE_ACCOUNT_EMAIL: "molecule@megabyte-labs.iam.gserviceaccount.com"
✖ ERROR Gsettings Failed to apply gsetting
Error: Command failed: gsettings set org.gnome.desktop.interface color-scheme prefer-dark
No such key “color-scheme”
GITLAB_READ_TOKEN GITLAB_READ_TOKEN
GITHUB_READ_TOKEN GITHUB_READ_TOKEN
GITHUB_GIST_TOKEN GITHUB_GIST_TOKEN

View file

@ -1,8 +1,6 @@
{{- if (eq .host.distro.family "linux") -}} {{- if (eq .host.distro.family "linux") -}}
#!/usr/bin/env bash #!/usr/bin/env bash
# Docker plugins.json hash: {{ include (joinPath .chezmoi.homeDir ".config" "docker" "plugins.json") | sha256sum }}
{{ includeTemplate "universal/profile" }} {{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }} {{ includeTemplate "universal/logg" }}

View file

@ -1,7 +1,7 @@
{{- if eq .host.distro.family "linux" -}} {{- if eq .host.distro.family "linux" -}}
#!/usr/bin/env bash #!/usr/bin/env bash
# timeshift.json hash: {{ include (joinPath .chezmoi.homeDir ".config" "keybase" "config.json") | sha256sum }} # Keybase config hash: {{ include (joinPath .chezmoi.homeDir ".config" "keybase" "config.json") | sha256sum }}
{{ includeTemplate "universal/profile" }} {{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }} {{ includeTemplate "universal/logg" }}
@ -16,3 +16,5 @@ if command -v keybase > /dev/null; then
else else
logg info 'The `keybase` executable is not available' logg info 'The `keybase` executable is not available'
fi fi
{{ end -}}

View file

@ -7,13 +7,12 @@
{{ includeTemplate "universal/logg" }} {{ includeTemplate "universal/logg" }}
if command -v timeshift > /dev/null; then if command -v timeshift > /dev/null; then
if [ -d /etc/timeshift ]; then logg info 'Ensuring /etc/timeshift is a directory'
TIMESHIFT_CONFIG="${XDG_CONFIG_HOME}:-$HOME/.config}/timeshift/timeshift.json" sudo mkdir -p /etc/timeshift
TIMESHIFT_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/timeshift/timeshift.json"
logg info "Copying $TIMESHIFT_CONFIG to /etc/timeshift/timeshift.json" logg info "Copying $TIMESHIFT_CONFIG to /etc/timeshift/timeshift.json"
sudo cp -f "$TIMESHIFT_CONFIG" /etc/timeshift/timeshift.json sudo cp -f "$TIMESHIFT_CONFIG" /etc/timeshift/timeshift.json
else
logg info '`/etc/timeshift` is not a directory'
fi
else else
logg info 'The `timeshift` executable is not available' logg info 'The `timeshift` executable is not available'
fi fi

View file

@ -41,7 +41,7 @@ if command -v nmcli > /dev/null; then
### Add the profile ### Add the profile
logg info "Adding $OVPN_FILE to NetworkManager OpenVPN profiles" logg info "Adding $OVPN_FILE to NetworkManager OpenVPN profiles"
OVPN_NAME="$(basename "$OVPN_FILE" | sed 's/.ovpn$//')" OVPN_NAME="$(basename "$OVPN_FILE" | sed 's/.ovpn$//')"
nmcli connection import type openvpn file '{{ vpn_connection.file }}' nmcli connection import type openvpn file "$OVPN_FILE"
nmcli connection modify "$OVPN_NAME" +vpn.data 'username={{- $ovpnUsername }}' nmcli connection modify "$OVPN_NAME" +vpn.data 'username={{- $ovpnUsername }}'
nmcli connection modify "$OVPN_NAME" vpn.secrets 'password={{- $ovpnPassword }}' nmcli connection modify "$OVPN_NAME" vpn.secrets 'password={{- $ovpnPassword }}'
nmcli connection modify "$OVPN_NAME" +vpn.data password-flags=0 nmcli connection modify "$OVPN_NAME" +vpn.data password-flags=0

View file

@ -5129,7 +5129,6 @@ softwarePackages:
pacman: netdata pacman: netdata
port: netdata port: netdata
script: curl https://my-netdata.io/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh script: curl https://my-netdata.io/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh
_service: true
_type: webapp _type: webapp
newman: newman:
_bin: newman _bin: newman