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" -}}
{{- $email := "noreply@megabyte.space" -}}
{{- $name := "Brian Zalewski" -}}
{{- $email := "brian@megabyte.space" -}}
{{- $restricted := false -}}
{{- $work := false -}}
{{- $gpgKeyId := "0xF0A300E4199A1C33" -}}
{{- $gmailAddress := "noreply@gmail.com" -}}
{{- $gmailAddress := "blzalewski@gmail.com" -}}
{{- $gmailAddressAppPassword := "" -}}
{{- $domain := "megabyte.space" -}}
{{- $cloudflareUsername := "" -}}
{{- $cloudflareUsername := "brian@megabyte.space" -}}
{{- $cloudflareToken := "" -}}
{{- $cloudflareAccessKeyId := "" -}}
{{- $cloudflareSecretAccessKey := "" -}}
@ -19,7 +19,7 @@
{{- $slackApiToken := "" -}}
{{- $tabbyConfigId := "" -}}
{{- $tabbySyncToken := "" -}}
{{- $timezone := "" -}}
{{- $timezone := "America/New_York" -}}
{{- $toolchains := list "docker" "iac" "java" "kubernetes" "node" "python" "rust" "extra" "gpg" -}}
{{- $data := . }}
@ -102,11 +102,10 @@
{{- $gpgKeyId = promptStringOnce $data.user "gpgKeyId" "Public GPG key ID" $gpgKeyId -}}
{{- $domain = promptStringOnce $data.user "domain" "Domain" $domain -}}
{{- $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 -}}
{{- $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 }}
{{- $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 -}}
{{- $gmailAddressAppPassword = promptStringOnce $data.user "gmailAddressAppPassword" "G-mail app password" $gmailAddressAppPassword -}}
{{- $ngrokAuthToken = promptStringOnce $data.user "ngrokAuthToken" "Ngrok authentication token" $ngrokAuthToken -}}

View file

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

View file

@ -3,6 +3,7 @@
.asdf
Brewfile
.bash_logout
.bash_profile
.cargo
.dircolors
.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'
fi
# Masked sudo password entry
if command -v gum > /dev/null; then
alias please="gum input --password | sudo -nS"
fi
# Show open ports
alias ports='sudo netstat -tulanp'

View file

@ -135,4 +135,4 @@ update-all() {
npm update -g || true
chezmoi upgrade
z4h update
}
}

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