Update 5 files

- /home/dot_config/rclone/merge_private_rclone.conf
- /home/dot_tool-versions.tmpl
- /home/dot_config/rclone/merge_private_rclone.conf.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_07-docker-plugins.tmpl
- /software.yml
This commit is contained in:
Brian Zalewski 2023-02-04 08:19:52 +00:00
parent b62dbda73f
commit 9dfb728764
4 changed files with 46 additions and 37 deletions

View file

@ -19,6 +19,10 @@ fi
### Docker Rclone plugin ### Docker Rclone plugin
# Source: https://rclone.org/docker/ # Source: https://rclone.org/docker/
# First, ensure Docker Rclone configuration exists (which only happens when the Chezmoi Age decryption key is present as well as keys for Rclone)
if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/rclone/docker-rclone.conf" ]; then
### Ensure Docker Rclone plugin system folders exist
logg info 'Ensure Docker Rclone plugin system folders exist'
if [ ! -d /var/lib/docker-plugins/rclone/config ]; then if [ ! -d /var/lib/docker-plugins/rclone/config ]; then
logg info 'Creating directory /var/lib/docker-plugins/rclone/config' logg info 'Creating directory /var/lib/docker-plugins/rclone/config'
sudo mkdir -p /var/lib/docker-plugins/rclone/config sudo mkdir -p /var/lib/docker-plugins/rclone/config
@ -27,9 +31,15 @@ if [ ! -d /var/lib/docker-plugins/rclone/cache ]; then
logg info 'Creating directory /var/lib/docker-plugins/rclone/cache' logg info 'Creating directory /var/lib/docker-plugins/rclone/cache'
sudo mkdir -p /var/lib/docker-plugins/rclone/cache sudo mkdir -p /var/lib/docker-plugins/rclone/cache
fi fi
### Copy Rclone configuration
logg info "Copy the Rclone configuration from ${XDG_CONFIG_HOME:-$HOME/.config}/rclone/docker-rclone.conf to /var/lib/docker-plugins/rclone/config/rclone.conf"
sudo cp -f "${XDG_CONFIG_HOME:-$HOME/.config}/rclone/docker-rclone.conf" /var/lib/docker-plugins/rclone/config/rclone.conf sudo cp -f "${XDG_CONFIG_HOME:-$HOME/.config}/rclone/docker-rclone.conf" /var/lib/docker-plugins/rclone/config/rclone.conf
### Install the Rclone Docker plugin (if not already installed)
if ! sudo su -c 'docker plugin ls' - "$USER" | grep 'rclone:latest' > /dev/null; then if ! sudo su -c 'docker plugin ls' - "$USER" | grep 'rclone:latest' > /dev/null; then
sudo su -c 'docker plugin install rclone/docker-volume-rclone:amd64 args="-v" --alias rclone --grant-all-permissions' - "$USER" sudo su -c 'docker plugin install rclone/docker-volume-rclone:amd64 args="-v" --alias rclone --grant-all-permissions' - "$USER"
fi fi
fi
{{ end -}} {{ end -}}

View file

@ -25,4 +25,4 @@ endpoint = {{ .user.cloudflare.r2 }}.r2.cloudflarestorage.com/user
acl = private acl = private
# MEGABYTE LABS MANAGED S3 # MEGABYTE LABS MANAGED S3
EOT EOT
{{- end }} {{- end -}}

View file

@ -1,9 +1,9 @@
golang system golang system
java openjdk-17 # java openjdk-17
deno system deno system
nodejs system nodejs system
php 8.1.12 # php 8.1.12
poetry system poetry system
python system python system
ruby 3.1.1 ruby system
rust system rust system

View file

@ -5761,7 +5761,7 @@ softwarePackages:
pacman: php pacman: php
port: php port: php
scoop: php scoop: php
_service: false_ _service: false
_type: cli _type: cli
php-extensions: php-extensions:
_name: PHP Extensions _name: PHP Extensions
@ -5788,13 +5788,15 @@ softwarePackages:
- php-xml - php-xml
brew: brew:
- postgresql - postgresql
dnf:centos: dnf:
- pcre-devel
- postgresql-devel - postgresql-devel
- php-apcu - php-apcu
- php-cgi - php-cgi
- php-cli - php-cli
- php-common - php-common
- php-curl - php-curl
- php-devel
- php-fpm - php-fpm
- php-gd - php-gd
- php-intl - php-intl
@ -5805,26 +5807,6 @@ softwarePackages:
- php-snmp - php-snmp
- php-sqlite3 - php-sqlite3
- php-xml - php-xml
dnf:fedora:
- libpcre3-dev
- postgresql-devel
- php-apcu
- php-cgi
- php-cli
- php-common
- php-curl
- php-dev
- php-fpm
- php-gd
- php-intl
- php-imap
- php-json
- php-mbstring
- php-opcache
- php-redis
- php-snmp
- php-sqlite3
- php-xml
pacman: pacman:
- libpcre3-dev - libpcre3-dev
- postgresql-libs - postgresql-libs
@ -5846,7 +5828,24 @@ softwarePackages:
- php-sqlite3 - php-sqlite3
- php-xml - php-xml
zypper: zypper:
- pcre-devel
- postgresql-devel - postgresql-devel
- php-apcu
- php-cgi
- php-cli
- php-common
- php-curl
- php-devel
- php-fpm
- php-gd
- php-intl
- php-json
- php-mbstring
- php-opcache
- php-redis
- php-snmp
- php-sqlite3
- php-xml
pihole: pihole:
_bin: null _bin: null
_desc: '[Pi-hole](https://pi-hole.net/) is a Linux network-level advertisement and Internet tracker blocking application which acts as a DNS sinkhole and optionally a DHCP server, intended for use on a private network. It is designed for low-power embedded devices with network capability, such as the Raspberry Pi, but supports any Linux machines.' _desc: '[Pi-hole](https://pi-hole.net/) is a Linux network-level advertisement and Internet tracker blocking application which acts as a DNS sinkhole and optionally a DHCP server, intended for use on a private network. It is designed for low-power embedded devices with network capability, such as the Raspberry Pi, but supports any Linux machines.'