Update dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_install-software, dotfiles/.local/share/chezmoi/home/dot_local/Taskfile-local.yml, dotfiles/.local/share/chezmoi/home/private_dot_config/shell/functions, dotfiles/.local/share/chezmoi/home/.chezmoiremove, dotfiles/.local/share/chezmoi/home/.chezmoi.yaml.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_load-secrets, dotfiles/.local/share/chezmoi/home/private_dot_config/shell/aliases.tmpl, dotfiles/.local/share/chezmoi/software.yml, dotfiles/.local/share/chezmoi/home/.chezmoidata.yaml

Deleted dotfiles/.local/share/chezmoi/home/symlink_Taskfile.yml, dotfiles/.local/share/chezmoi/home/dot_local/symlink_Taskfile-upstream.yml.tmpl, dotfiles/.local/share/chezmoi/home/dot_bash_profile
This commit is contained in:
Brian Zalewski 2022-11-28 01:11:00 +00:00
parent c0afd43e05
commit 9f315c2f2f
12 changed files with 560 additions and 488 deletions

View file

@ -1,12 +1,12 @@
{{- $name := "Megabyte Labs" -}} {{- $name := "Brian Zalewski" -}}
{{- $email := "noreply@megabyte.space" -}} {{- $email := "brian@megabyte.space" -}}
{{- $restricted := false -}} {{- $restricted := false -}}
{{- $work := false -}} {{- $work := false -}}
{{- $gpgKeyId := "0xF0A300E4199A1C33" -}} {{- $gpgKeyId := "0xF0A300E4199A1C33" -}}
{{- $gmailAddress := "noreply@gmail.com" -}} {{- $gmailAddress := "blzalewski@gmail.com" -}}
{{- $gmailAddressAppPassword := "" -}} {{- $gmailAddressAppPassword := "" -}}
{{- $domain := "megabyte.space" -}} {{- $domain := "megabyte.space" -}}
{{- $cloudflareUsername := "" -}} {{- $cloudflareUsername := "brian@megabyte.space" -}}
{{- $cloudflareToken := "" -}} {{- $cloudflareToken := "" -}}
{{- $cloudflareAccessKeyId := "" -}} {{- $cloudflareAccessKeyId := "" -}}
{{- $cloudflareSecretAccessKey := "" -}} {{- $cloudflareSecretAccessKey := "" -}}
@ -19,7 +19,7 @@
{{- $slackApiToken := "" -}} {{- $slackApiToken := "" -}}
{{- $tabbyConfigId := "" -}} {{- $tabbyConfigId := "" -}}
{{- $tabbySyncToken := "" -}} {{- $tabbySyncToken := "" -}}
{{- $timezone := "" -}} {{- $timezone := "America/New_York" -}}
{{- $toolchains := list "docker" "iac" "java" "kubernetes" "node" "python" "rust" "extra" "gpg" -}} {{- $toolchains := list "docker" "iac" "java" "kubernetes" "node" "python" "rust" "extra" "gpg" -}}
{{- $data := . }} {{- $data := . }}
@ -102,11 +102,10 @@
{{- $gpgKeyId = promptStringOnce $data.user "gpgKeyId" "Public GPG key ID" $gpgKeyId -}} {{- $gpgKeyId = promptStringOnce $data.user "gpgKeyId" "Public GPG key ID" $gpgKeyId -}}
{{- $domain = promptStringOnce $data.user "domain" "Domain" $domain -}} {{- $domain = promptStringOnce $data.user "domain" "Domain" $domain -}}
{{- $timezone = promptStringOnce $data.user "timezone" "Timezone" $timezone -}} {{- $timezone = promptStringOnce $data.user "timezone" "Timezone" $timezone -}}
{{- $cloudflareUsername = promptStringOnce $data.user "cloudflareUsername" "CloudFlare E-Mail" $email -}}
{{- $cloudflareToken = promptStringOnce $data.user "cloudflareToken" "CloudFlare API Token" $cloudflareToken -}} {{- $cloudflareToken = promptStringOnce $data.user "cloudflareToken" "CloudFlare API Token" $cloudflareToken -}}
{{- $githubUsername = promptStringOnce $data.user "githubUsername" "GitHub username" $githubUsername -}}
{{- $gitlabReadToken = promptStringOnce $data.user "gitlabReadToken" "GitLab read-only token (See: https://github.com/gabrie30/ghorg#scm-provider-setup)" $gitlabReadToken }} {{- $gitlabReadToken = promptStringOnce $data.user "gitlabReadToken" "GitLab read-only token (See: https://github.com/gabrie30/ghorg#scm-provider-setup)" $gitlabReadToken }}
{{- $githubReadToken = promptStringOnce $data.user "githubReadToken" "GitHub read-only token (See: https://github.com/gabrie30/ghorg#scm-provider-setup)" $githubReadToken }} {{- $githubReadToken = promptStringOnce $data.user "githubReadToken" "GitHub read-only token (See: https://github.com/gabrie30/ghorg#scm-provider-setup)" $githubReadToken }}
{{- $githubUsername = promptStringOnce $data.user "githubUsername" "GitHub username" $githubUsername -}}
{{- $gmailAddress = promptStringOnce $data.user "gmailAddress" "G-mail address" $gmailAddress -}} {{- $gmailAddress = promptStringOnce $data.user "gmailAddress" "G-mail address" $gmailAddress -}}
{{- $gmailAddressAppPassword = promptStringOnce $data.user "gmailAddressAppPassword" "G-mail app password" $gmailAddressAppPassword -}} {{- $gmailAddressAppPassword = promptStringOnce $data.user "gmailAddressAppPassword" "G-mail app password" $gmailAddressAppPassword -}}
{{- $ngrokAuthToken = promptStringOnce $data.user "ngrokAuthToken" "Ngrok authentication token" $ngrokAuthToken -}} {{- $ngrokAuthToken = promptStringOnce $data.user "ngrokAuthToken" "Ngrok authentication token" $ngrokAuthToken -}}

View file

@ -98,7 +98,7 @@ softwareGroups:
- rsync - rsync
- sd - sd
- shellcheck - shellcheck
- sops - skate
- sqlite - sqlite
- ssh-vault - ssh-vault
- sysbench - sysbench

View file

@ -3,6 +3,7 @@
.asdf .asdf
Brewfile Brewfile
.bash_logout .bash_logout
.bash_profile
.cargo .cargo
.dircolors .dircolors
.gitconfig .gitconfig

View file

@ -1,16 +0,0 @@
# Prefer US English
export LANG="en_US"
# Detect support for advanced terminal features
if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then
export BASH_SUPPORT=true
fi
# Ensure scripts in ~/.local/bin are executable
find "$HOME/.local/bin" -maxdepth 1 -type f ! -executable | while read LOCAL_BIN_FILE; do
chmod +x "$LOCAL_BIN_FILE"
done
export PATH="$PATH:$HOME/.local/bin"
# Source the main Bash config
. "$HOME/.bashrc"

View file

@ -0,0 +1,10 @@
---
version: '3'
# This is your local Taskfile.yml file. You can define tasks and scripts while leveraging some of the nifty
# features of https://taskfile.dev. You can safely place your scripts here and they will be combined with
# a veteran stack of Taskfile.yml files. You can access the tasks defined here by running
# `run local:default` for example. You must keep all the tasks in this file without including other files
# because the main Taskfile.yml is a symlinked one. Anyway, try `run local:default`.
tasks:
default: echo "Get started on https://taskfile.dev"

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
logg

View file

@ -1,3 +0,0 @@
{{- if true -}}
{{ .chezmoi.homeDir }}/.local/src/shared-common/Taskfile.yml
{{- end -}}

View file

@ -114,6 +114,11 @@ if ! command -v pip > /dev/null; then
alias pip='pip3' alias pip='pip3'
fi fi
# Masked sudo password entry
if command -v gum > /dev/null; then
alias please="gum input --password | sudo -nS"
fi
# Show open ports # Show open ports
alias ports='sudo netstat -tulanp' alias ports='sudo netstat -tulanp'

View file

@ -1,8 +0,0 @@
---
version: '3'
# Tasks defined here can be run by running `run local:default` for example if you wanted
# to run the task named default. See: https://taskfile.dev/. It is set up like this
# so you can also access our set of bundled tasks located in the `~/.local` folder.
tasks:
default: echo "Default task"

View file

@ -154,8 +154,6 @@ softwarePackages:
port: bat port: bat
scoop: bat scoop: bat
zypper: bat zypper: bat
blockinfile:
go: github.com/ProfessorManhattan/blockinfile@latest
bundler: bundler:
gem: bundler gem: bundler
bash-completion: bash-completion:
@ -735,6 +733,11 @@ softwarePackages:
npm: share-cli npm: share-cli
sharp: sharp:
npm: sharp-cli npm: sharp-cli
skate:
brew: charmbracelet/tap/skate
go: github.com/charmbracelet/skate@latest
nix: nixpkgs.skate
pacman: skate
shotcut: shotcut:
_snapClassic: true _snapClassic: true
ansible: professormanhattan.shotcut ansible: professormanhattan.shotcut