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_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
GITHUB_READ_TOKEN
GITHUB_GIST_TOKEN

View file

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

View file

@ -1,7 +1,7 @@
{{- if eq .host.distro.family "linux" -}}
#!/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/logg" }}
@ -16,3 +16,5 @@ if command -v keybase > /dev/null; then
else
logg info 'The `keybase` executable is not available'
fi
{{ end -}}

View file

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

View file

@ -41,7 +41,7 @@ if command -v nmcli > /dev/null; then
### Add the profile
logg info "Adding $OVPN_FILE to NetworkManager OpenVPN profiles"
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.secrets 'password={{- $ovpnPassword }}'
nmcli connection modify "$OVPN_NAME" +vpn.data password-flags=0

View file

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