diff --git a/dotfiles/.local/Taskfile-localhost.yml b/dotfiles/.local/Taskfile-localhost.yml index cd87919a..9fec1043 100644 --- a/dotfiles/.local/Taskfile-localhost.yml +++ b/dotfiles/.local/Taskfile-localhost.yml @@ -2,6 +2,42 @@ version: '3' tasks: + browser:profile:save:brave: + vars: + BrowserProfile: > + {{if eq OS "darwin"}}~/Library/Application\ Support/BraveSoftware/Brave-Browser/Default{{end}} + {{if eq OS "linux"}}{{end}} + {{if eq OS "windows"}}{{end}} + cmds: + - tar -czpf ~/brave-profile.tar.gz {{.BrowserProfile}} + + browser:profile:save:chrome: + vars: + BrowserProfile: > + {{if eq OS "darwin"}}~/Library/Application\ Support/BraveSoftware/Brave-Browser/Default{{end}} + {{if eq OS "linux"}}{{end}} + {{if eq OS "windows"}}{{end}} + cmds: + - tar -czpf ~/brave-profile.tar.gz {{.BrowserProfile}} + + browser:profile:save:edge: + vars: + BrowserProfile: > + {{if eq OS "darwin"}}~/Library/Application\ Support/BraveSoftware/Brave-Browser/Default{{end}} + {{if eq OS "linux"}}{{end}} + {{if eq OS "windows"}}{{end}} + cmds: + - tar -czpf ~/brave-profile.tar.gz {{.BrowserProfile}} + + browser:profile:save:firefox: + vars: + BrowserProfile: > + {{if eq OS "darwin"}}~/Library/Application\ Support/BraveSoftware/Brave-Browser/Default{{end}} + {{if eq OS "linux"}}{{end}} + {{if eq OS "windows"}}{{end}} + cmds: + - tar -czpf ~/brave-profile.tar.gz {{.BrowserProfile}} + provision: desc: Provision the environment summary: | diff --git a/dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl b/dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl index 792773e4..01b877fe 100644 --- a/dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl +++ b/dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl @@ -55,10 +55,10 @@ {{- if stdinIsATTY -}} -{{- $work = promptBoolOnce $data.host "work" "Work Environment" $work -}} +{{- $work = promptBoolOnce $data.host "work" "Work environment" $work -}} {{- $restricted = promptBoolOnce $data.host "restricted" "Restricted Environment (no sudo access)" $restricted -}} -{{- $name = promptStringOnce $data.user "name" "Your Name" $name -}} -{{- $email = promptStringOnce $data.user "email" "Your Email" $email -}} +{{- $name = promptStringOnce $data.user "name" "Your full name" $name -}} +{{- $email = promptStringOnce $data.user "email" "Your primary e-mail" $email -}} {{- $gmailAddress := promptStringOnce . "G-mail address" -}} {{- $gmailAddressAppPassword := promptStringOnce . "G-mail app password" -}} {{- $ngrokAuthToken := promptStringOnce . "Ngrok authentication token" -}} @@ -83,6 +83,8 @@ sourceDir = {{ .chezmoi.sourceDir | quote }} [data] + work = {{ $work | quote }} + restricted = {{ $restricted | quote }} codespaces = {{ $codespaces }} headless = {{ $headless }} {{- if $ephemeral }} @@ -95,11 +97,13 @@ sourceDir = {{ .chezmoi.sourceDir | quote }} gmailAddress = {{ $gmailAddress | quote }} gmailAddressAppPassword = {{ $gmailAddressAppPassword | quote }} name = {{ $name | quote }} + DOCKERHUB_TOKEN = GITHUB_TOKEN = {{ $githubToken | quote }} GITLAB_TOKEN = {{ $gitlabToken | quote }} NGROK_AUTH_TOKEN = {{ $ngrokAuthToken | quote }} SLACK_API_TOKEN = {{ $slackApiToken | quote }} TABBY_SYNC_TOKEN = "196a3118cc7be31cd13d2862d7e33c122357fd9fa36c2f149e8b018b82c260ab6b72169f4c411a6bedd2b8b4124c3540daa57778f20a28cfe2c797776f9a616c" + VAGRANT_CLOUD_TOKEN = {{- end }} [diff] diff --git a/dotfiles/.local/share/chezmoi/home/private_dot_config/asdf/asdfrc.tmpl b/dotfiles/.local/share/chezmoi/home/private_dot_config/asdf/asdfrc.tmpl index 53d3974b..88145b66 100644 --- a/dotfiles/.local/share/chezmoi/home/private_dot_config/asdf/asdfrc.tmpl +++ b/dotfiles/.local/share/chezmoi/home/private_dot_config/asdf/asdfrc.tmpl @@ -4,6 +4,6 @@ legacy_version_file = yes # Use release candidate rather than latest semantic version use_release_candidates = yes -{{ if and (eq .chezmoi.os "darwin") (not .host.restricted) -}} +{{ if and (eq .chezmoi.os "darwin") (not .restricted) -}} java_macos_integration_enable = yes {{ end -}} diff --git a/dotfiles/.local/share/chezmoi/home/private_dot_config/bashtop/bashtop.cfg b/dotfiles/.local/share/chezmoi/home/private_dot_config/bashtop/bashtop.cfg index 729c4ee7..a99705d5 100644 --- a/dotfiles/.local/share/chezmoi/home/private_dot_config/bashtop/bashtop.cfg +++ b/dotfiles/.local/share/chezmoi/home/private_dot_config/bashtop/bashtop.cfg @@ -1 +1 @@ -color_theme="betelgeuse" +color_theme="Betelgeuse" diff --git a/dotfiles/.local/share/chezmoi/home/private_dot_config/brew/Brewfile.tmpl b/dotfiles/.local/share/chezmoi/home/private_dot_config/brew/Brewfile.tmpl index cc3c56ca..a60d8ab0 100644 --- a/dotfiles/.local/share/chezmoi/home/private_dot_config/brew/Brewfile.tmpl +++ b/dotfiles/.local/share/chezmoi/home/private_dot_config/brew/Brewfile.tmpl @@ -9,4 +9,4 @@ cask "iterm2" unless File.directory?('/Applications/iTerm.app') cask 'docker' unless File.directory?('/Applications/Docker.app') # Fonts - cask "font-hack-nerd-font" \ No newline at end of file +cask "font-hack-nerd-font"