2022-12-02 07:45:46 -08:00
|
|
|
{{- $name := (default "Brian Zalewski" (env "FULL_NAME")) -}}
|
|
|
|
{{- $email := (default "brian@megabyte.space" (env "PRIMARY_EMAIL")) -}}
|
|
|
|
{{- $restricted := (default false (env "WORK_ENVIRONMENT")) -}}
|
2022-12-02 07:47:55 -08:00
|
|
|
{{- $work := (default false (env "WORK_ENVIRONMENT")) -}}
|
2022-12-02 07:45:46 -08:00
|
|
|
{{- $gpgKeyId := (default "0xF0A300E4199A1C33" (env "KEYID")) -}}
|
|
|
|
{{- $gmailAddress := (default "blzalewski@gmail.com" (env "GMAIL_ADDRESS")) -}}
|
|
|
|
{{- $gmailAddressAppPassword := (default "" (env "GMAIL_APP_PASSWORD")) -}}
|
|
|
|
{{- $domain := (default "megabyte.space" (env "PUBLIC_SERVICES_DOMAIN")) -}}
|
|
|
|
{{- $cloudflareUsername := (default "brian@megabyte.space" (env "CLOUDFLARE_USERNAME")) -}}
|
2022-12-02 10:09:55 -08:00
|
|
|
{{- $cloudflareToken := (default "" (env "CLOUDFLARE_API_TOKEN")) -}}
|
Update dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_after_10_install-aqua-packages.sh.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_after_15_install-asdf-packages.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_after_50-crontab.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_after_60-cleanup.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_after_80-bash-completions.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_after_99_bootstrap-z4h.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_before_1-logging-deps, dotfiles/.local/share/chezmoi/home/.chezmoiignore, dotfiles/.local/share/chezmoi/home/.chezmoiremove, dotfiles/.local/share/chezmoi/home/.chezmoidata.yaml, dotfiles/.local/share/chezmoi/home/private_dot_config/rclone/merge_rclone.conf, dotfiles/.local/share/chezmoi/home/.chezmoi.yaml.tmpl
2022-11-24 13:48:06 -08:00
|
|
|
{{- $cloudflareAccessKeyId := "" -}}
|
|
|
|
{{- $cloudflareSecretAccessKey := "" -}}
|
|
|
|
{{- $cloudflareR2AccountId := "" -}}
|
2022-12-02 07:45:46 -08:00
|
|
|
{{- $githubUsername := (default "ProfessorManhattan" (env "GITHUB_USERNAME")) -}}
|
2022-12-06 04:53:19 -08:00
|
|
|
{{- $githubGistToken := (default "" (env "GITHUB_GIST_TOKEN")) -}}
|
2022-12-02 05:04:30 -08:00
|
|
|
{{- $githubReadToken := (env "GITHUB_READ_TOKEN") -}}
|
|
|
|
{{- $gitlabReadToken := (env "GITLAB_READ_TOKEN") -}}
|
2022-11-24 19:14:28 -08:00
|
|
|
{{- $locale := (output "echo" "$LANG") }}
|
2022-12-02 07:45:46 -08:00
|
|
|
{{- $ngrokAuthToken := (default "" (env "NGROK_AUTH_TOKEN")) -}}
|
|
|
|
{{- $slackApiToken := (default "" (env "SLACK_API_TOKEN")) -}}
|
|
|
|
{{- $tabbyConfigId := (default "" (env "TABBY_CONFIG_ID")) -}}
|
|
|
|
{{- $tabbySyncToken := (default "" (env "TABBY_SYNC_TOKEN")) -}}
|
2022-12-08 20:25:43 -08:00
|
|
|
{{- $tailscaleAuthKey := (default "" (env "TAILSCALE_AUTH_KEY")) -}}
|
2022-12-02 07:45:46 -08:00
|
|
|
{{- $timezone := (default "America/New_York" (env "TIMEZONE")) -}}
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- $toolchains := list "CLI-Extras" "Docker" "Go" "Kubernetes" "Web-Development" -}}
|
2022-12-02 05:02:09 -08:00
|
|
|
{{- $desktopSession := true -}}
|
2022-12-02 07:45:46 -08:00
|
|
|
{{- if and (ne .chezmoi.os "darwin") (ne .chezmoi.os "windows") (not (env "DISPLAY")) -}}
|
2022-12-02 05:02:09 -08:00
|
|
|
{{- $desktopSession = false -}}
|
|
|
|
{{- end -}}
|
2022-12-02 07:45:46 -08:00
|
|
|
{{- $softwareGroup := (default "Standard" (env "SOFTWARE_GROUP")) -}}
|
2022-12-02 05:02:09 -08:00
|
|
|
{{- if $desktopSession -}}
|
2022-12-02 08:43:15 -08:00
|
|
|
{{- $softwareGroup = list $softwareGroup "-Desktop" | join "" -}}
|
2022-12-02 05:02:09 -08:00
|
|
|
{{- end -}}
|
2022-11-22 16:52:49 -08:00
|
|
|
|
|
|
|
{{- $data := . }}
|
|
|
|
{{- $_ := set $data "host" (default (dict) (get $data "host")) -}}
|
|
|
|
{{- $_ := set $data "user" (default (dict) (get $data "user")) -}}
|
|
|
|
{{- $_ := set $data "toolchains" (default (dict) (get $data "toolchains")) -}}
|
|
|
|
|
2022-11-24 03:00:11 -08:00
|
|
|
{{- $headless := false -}}
|
|
|
|
{{- $ephemeral := false -}}
|
|
|
|
{{/* detect GitHub codespaces, VSCode remote containers, Docker containers, Multipass VMs, and Vagrant boxes */}}
|
|
|
|
{{- $ephemeralEnvOrUsername := or (env "CODESPACES") (env "REMOTE_CONTAINERS_IPC") (eq .chezmoi.username "root" "ubuntu" "vagrant" "vscode" "devcontainer") -}}
|
|
|
|
{{- $ephemeralCgroup := and (stat "/proc/1/cgroup") (output "cat" "/proc/1/cgroup" | regexMatch "(docker|lxc)") -}}
|
|
|
|
{{- if or $ephemeralEnvOrUsername $ephemeralCgroup -}}
|
|
|
|
{{- $headless = true -}}
|
|
|
|
{{- $ephemeral = true -}}
|
|
|
|
{{- writeToStdout "Chezmoi is running in a container.\n" -}}
|
2022-11-22 16:52:49 -08:00
|
|
|
{{- end -}}
|
|
|
|
|
2023-01-05 01:29:03 -08:00
|
|
|
{{- $chassisType := "desktop" }}
|
|
|
|
{{- if $ephemeral -}}
|
|
|
|
{{- $chassisType = "ephemeral" }}
|
|
|
|
{{- else if eq .chezmoi.os "linux" }}
|
|
|
|
{{- if (.chezmoi.kernel.osrelease | lower | contains "microsoft") -}}
|
|
|
|
{{- $chassisType = "wsl" }}
|
2023-01-05 16:06:20 -08:00
|
|
|
{{- else -}}
|
2023-01-05 16:09:58 -08:00
|
|
|
{{- $chassisType = "todo-get-from-hostnamectl" }}
|
2023-01-05 01:29:03 -08:00
|
|
|
{{- end -}}
|
|
|
|
{{- else if eq .chezmoi.os "darwin" }}
|
|
|
|
{{- if contains "MacBook" (output "sysctl" "-n" "hw.model") }}
|
|
|
|
{{- $chassisType = "laptop" }}
|
|
|
|
{{- else }}
|
|
|
|
{{- $chassisType = "desktop" }}
|
|
|
|
{{- end }}
|
|
|
|
{{- else if eq .chezmoi.os "windows" }}
|
|
|
|
{{- $chassisType = (output "powershell.exe" "-noprofile" "-command" "if (Get-WmiObject -Class win32_battery -ComputerName localhost) { echo laptop } else { echo desktop }") }}
|
|
|
|
{{- end }}
|
|
|
|
|
2022-11-24 09:32:08 -08:00
|
|
|
{{- $cpuCores := 1 }}
|
|
|
|
{{- $cpuThreads := 1 }}
|
|
|
|
{{- if eq .chezmoi.os "darwin" }}
|
|
|
|
{{- $cpuCores = (output "sysctl" "-n" "hw.physicalcpu_max") | trim | atoi }}
|
|
|
|
{{- $cpuThreads = (output "sysctl" "-n" "hw.logicalcpu_max") | trim | atoi }}
|
|
|
|
{{- else if eq .chezmoi.os "linux" }}
|
|
|
|
{{- $cpuCores = (output "sh" "-c" "lscpu --online --parse | grep --invert-match '^#' | sort --field-separator=',' --key='2,4' --unique | wc --lines") | trim | atoi }}
|
|
|
|
{{- $cpuThreads = (output "sh" "-c" "lscpu --online --parse | grep --invert-match '^#' | wc --lines") | trim | atoi }}
|
|
|
|
{{- else if eq .chezmoi.os "windows" }}
|
|
|
|
{{- $cpuCores = (output "powershell.exe" "-NoProfile" "-NonInteractive" "-Command" "(Get-CimInstance -ClassName 'Win32_Processor').NumberOfCores") | trim | atoi }}
|
|
|
|
{{- $cpuThreads = (output "powershell.exe" "-NoProfile" "-NonInteractive" "-Command" "(Get-CimInstance -ClassName 'Win32_Processor').NumberOfLogicalProcessors") | trim | atoi }}
|
|
|
|
{{- end }}
|
|
|
|
|
2022-11-22 16:52:49 -08:00
|
|
|
{{- $toolchainsEnabled := dict }}
|
|
|
|
{{- range $toolchain := $toolchains }}
|
|
|
|
{{- $withoutToolchains := env "WITHOUT_TOOLCHAINS" -}}
|
|
|
|
{{- $withoutToolchain := env (list "WITHOUT" (upper $toolchain) | join "_") -}}
|
|
|
|
{{- $withToolchain := env (list "WITH" (upper $toolchain) | join "_") -}}
|
|
|
|
{{- if and (or $withoutToolchains $withoutToolchain) (not $withToolchain) -}}
|
|
|
|
{{- writeToStdout (list "Disabled" $toolchain "toolchain.\n" | join " ") -}}
|
|
|
|
{{- $_ := set $toolchainsEnabled $toolchain false }}
|
|
|
|
{{- else }}
|
|
|
|
{{- $_ := set $toolchainsEnabled $toolchain true }}
|
|
|
|
{{- end}}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- if stdinIsATTY -}}
|
|
|
|
|
|
|
|
{{- range $toolchain := $toolchains }}
|
|
|
|
{{- $enabled := promptBoolOnce $data.toolchains $toolchain (list "Enable" $toolchain "toolchain" | join " ") (get $toolchainsEnabled $toolchain) -}}
|
2022-12-02 08:24:12 -08:00
|
|
|
{{- if and (eq $toolchain "Kubernetes") $enabled (not $toolchainsEnabled.Docker) -}}
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- $_ := set $toolchainsEnabled "Docker" $enabled }}
|
2022-11-22 16:52:49 -08:00
|
|
|
{{- writeToStdout "Enabled Docker toolchain to support Kubernetes.\n" -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- $_ := set $toolchainsEnabled $toolchain $enabled }}
|
|
|
|
{{- end }}
|
|
|
|
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- if not (env "WORK_ENVIRONMENT") -}}
|
|
|
|
{{- $work = promptBoolOnce $data.host "work" "Work environment" $work -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- if not (env "RESTRICTED_ENVIRONMENT") -}}
|
|
|
|
{{- $restricted = promptBoolOnce $data.host "restricted" "Restricted environment (i.e. no sudo)" $restricted -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- if not (env "SOFTWARE_GROUP") -}}
|
|
|
|
{{- $softwareGroup = promptStringOnce $data.host "softwareGroup" "Software group" $softwareGroup -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- if not (env "FULL_NAME") -}}
|
|
|
|
{{- $name = promptStringOnce $data.user "name" "Full name" $name -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- if not (env "PRIMARY_EMAIL") -}}
|
|
|
|
{{- $email = promptStringOnce $data.user "email" "Primary e-mail address" $email -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- if not (env "KEYID") -}}
|
|
|
|
{{- $gpgKeyId = promptStringOnce $data.user "gpgKeyId" "Public GPG key ID" $gpgKeyId -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- if not (env "PUBLIC_SERVICES_DOMAIN") -}}
|
|
|
|
{{- $domain = promptStringOnce $data.user "domain" "Domain name" $domain -}}
|
|
|
|
{{- end -}}
|
2022-12-02 08:23:31 -08:00
|
|
|
{{- if not (env "TIMEZONE") -}}
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- $timezone = promptStringOnce $data.user "timezone" "Timezone" $timezone -}}
|
|
|
|
{{- end -}}
|
2022-12-02 08:23:31 -08:00
|
|
|
{{- if not (env "CLOUDFLARE_TOKEN") -}}
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- $cloudflareToken = promptStringOnce $data.user "cloudflareToken" "CloudFlare API Token" $cloudflareToken -}}
|
|
|
|
{{- end -}}
|
2022-12-02 08:23:31 -08:00
|
|
|
{{- if not (env "GITHUB_USERNAME") -}}
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- $githubUsername = promptStringOnce $data.user "githubUsername" "GitHub username" $githubUsername -}}
|
|
|
|
{{- end -}}
|
2022-12-06 04:53:19 -08:00
|
|
|
{{- if not (env "GITHUB_GIST_TOKEN") -}}
|
|
|
|
{{- $githubGistToken = promptStringOnce $data.user "githubGistToken" "GitHub Gist token" $githubGistToken -}}
|
|
|
|
{{- end -}}
|
2022-12-02 08:23:31 -08:00
|
|
|
{{- if not (env "GITLAB_READ_TOKEN") -}}
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- $gitlabReadToken = promptStringOnce $data.user "gitlabReadToken" "GitLab read-only token" $gitlabReadToken }}
|
|
|
|
{{- end -}}
|
2022-12-02 08:23:31 -08:00
|
|
|
{{- if not (env "GITHUB_READ_TOKEN") -}}
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- $githubReadToken = promptStringOnce $data.user "githubReadToken" "GitHub read-only token" $githubReadToken }}
|
|
|
|
{{- end -}}
|
2022-12-02 08:23:31 -08:00
|
|
|
{{- if not (env "GMAIL_ADDRESS") -}}
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- $gmailAddress = promptStringOnce $data.user "gmailAddress" "G-mail address" $gmailAddress -}}
|
|
|
|
{{- end -}}
|
2022-12-02 08:23:31 -08:00
|
|
|
{{- if not (env "GMAIL_APP_PASSWORD") -}}
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- $gmailAddressAppPassword = promptStringOnce $data.user "gmailAddressAppPassword" "G-mail app password" $gmailAddressAppPassword -}}
|
|
|
|
{{- end -}}
|
2022-12-02 08:23:31 -08:00
|
|
|
{{- if not (env "NGROK_AUTH_TOKEN") -}}
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- $ngrokAuthToken = promptStringOnce $data.user "ngrokAuthToken" "Ngrok authentication token" $ngrokAuthToken -}}
|
|
|
|
{{- end -}}
|
2022-12-02 08:23:31 -08:00
|
|
|
{{- if not (env "SLACK_API_TOKEN") -}}
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- $slackApiToken = promptStringOnce $data.user "slackApiToken" "Slack API token" $slackApiToken -}}
|
|
|
|
{{- end -}}
|
2022-12-02 08:23:31 -08:00
|
|
|
{{- if not (env "TABBY_CONFIG_ID") -}}
|
2022-12-02 08:10:53 -08:00
|
|
|
{{- $tabbyConfigId = promptStringOnce $data.user "tabbyConfigId" "Tabby configuration ID" $tabbyConfigId -}}
|
|
|
|
{{- end -}}
|
2022-12-02 08:23:31 -08:00
|
|
|
{{- if not (env "TABBY_SYNC_TOKEN") -}}
|
2022-12-02 07:51:25 -08:00
|
|
|
{{- $tabbySyncToken = promptStringOnce $data.user "tabbySyncToken" "Tabby Sync token" $tabbySyncToken -}}
|
2022-12-02 07:45:46 -08:00
|
|
|
{{- end -}}
|
2022-12-08 20:25:43 -08:00
|
|
|
{{- if not (env "TAILSCALE_AUTH_KEY") -}}
|
|
|
|
{{- $tailscaleAuthKey = promptStringOnce $data.user "tailscaleAuthKey" "Tailscale authentication key" $tailscaleAuthKey -}}
|
|
|
|
{{- end -}}
|
2022-11-24 03:00:11 -08:00
|
|
|
|
|
|
|
{{- else -}}
|
|
|
|
{{- $headless = true -}}
|
|
|
|
{{- writeToStdout "Chezmoi is running in headless environment.\n" -}}
|
|
|
|
{{- end -}}
|
Update dotfiles/.local/share/chezmoi/private_dot_config/private_Code/User/keybindings.json, dotfiles/.local/share/chezmoi/private_dot_config/direnv/direnv.toml, dotfiles/.local/share/chezmoi/private_dot_config/firejail/code.local, dotfiles/.local/share/chezmoi/private_dot_config/firejail/chromium.local, dotfiles/.local/share/chezmoi/private_dot_config/firejail/bitwarden.local, dotfiles/.local/share/chezmoi/private_dot_config/firejail/gcloud.local, dotfiles/.local/share/chezmoi/private_dot_config/firejail/google-chrome-stable.local, dotfiles/.local/share/chezmoi/private_dot_config/firejail/slack.local, dotfiles/.local/share/chezmoi/private_dot_config/firejail/thunderbird.local, dotfiles/.local/share/chezmoi/private_dot_config/git/config.tmpl, dotfiles/.local/share/chezmoi/private_dot_config/git/attributes, dotfiles/.local/share/chezmoi/.chezmoi.toml.tmpl, dotfiles/.local/share/chezmoi/.chezmoidata.yaml, dotfiles/.local/share/chezmoi/dot_local/bin/executable_slack, dotfiles/.local/share/chezmoi/dot_local/bin/executable_fonttest, dotfiles/.local/share/chezmoi/dot_local/bin/executable_bwc, dotfiles/.local/share/chezmoi/private_dot_config/rofi/config.rasi.tmpl
2022-11-22 03:27:37 -08:00
|
|
|
|
2022-11-30 00:57:45 -08:00
|
|
|
encryption: "age"
|
|
|
|
age:
|
|
|
|
identity: "{{ .chezmoi.homeDir }}/.config/age/chezmoi.txt"
|
|
|
|
recipient: "age1necy24c4lzxheey4p2m8v4q000n442wyv47qc640ulyxx9l8dpesdqv7ey"
|
|
|
|
gpg:
|
|
|
|
recipient: "{{ $gpgKeyId }}"
|
2022-11-24 03:00:11 -08:00
|
|
|
data:
|
2022-11-24 03:47:02 -08:00
|
|
|
host:
|
|
|
|
arch: "{{ .chezmoi.arch }}"
|
2022-11-24 09:32:08 -08:00
|
|
|
cpu:
|
|
|
|
cores: "{{ $cpuCores }}"
|
|
|
|
threads: "{{ $cpuThreads }}"
|
2022-12-02 05:02:09 -08:00
|
|
|
desktopSession: "{{ $desktopSession }}"
|
2022-11-24 03:47:02 -08:00
|
|
|
distro:
|
|
|
|
family: "{{ .chezmoi.os }}"
|
|
|
|
id: "{{ get .chezmoi.osRelease "id" | default .chezmoi.os }}"
|
|
|
|
home: "{{ .chezmoi.homeDir }}"
|
Update dotfiles/.local/share/chezmoi/home/dot_ssh/create_encrypted_private_readonly_private_id_rsa.tmpl, dotfiles/.local/share/chezmoi/home/dot_ssh/run_onchanges_after_generate-public-keys, dotfiles/.local/share/chezmoi/system-linux/etc/systemd/system/r2-{{ .user.username }}.service.tmpl, dotfiles/.local/share/chezmoi/system-linux/usr/local/bin/executable_rclone-mount, dotfiles/.local/share/chezmoi/home/dot_cache/readonly_rclone/.gitkeep, dotfiles/.local/share/chezmoi/system-linux/var/cache/readonly_rclone/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/system-linux/etc/rcloneignore, dotfiles/.local/share/chezmoi/system-linux/etc/systemd/system/r2-docker.service, dotfiles/.local/share/chezmoi/system-linux/mnt/private_r2-docker/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/system-linux/var/log/user/run_onchange_after-symlink-user-logs, dotfiles/.local/share/chezmoi/home/.chezmoi.yaml.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/log/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/home/private_dot_config/rclone/merge_rclone.conf
Deleted dotfiles/.local/share/chezmoi/home/dot_ssh/id_rsa.pub
2022-11-24 19:04:16 -08:00
|
|
|
homeParentFolder: "{{ if eq .chezmoi.os "linux" }}/home{{ else if eq .chezmoi.os "darwin" }}/Users{{ else }}C:\Users{{ end }}"
|
2022-12-06 02:26:47 -08:00
|
|
|
hostname: "Betelgeuse"
|
Update dotfiles/.local/share/chezmoi/home/private_dot_config/environments/terminal, dotfiles/.local/software/development/Brewfile, dotfiles/.local/share/chezmoi/home/private_dot_config/environments/development, dotfiles/.local/share/chezmoi/home/private_dot_config/environments/desktop, dotfiles/.local/software/desktop/Brewfile, dotfiles/.local/software/desktop/Packages.config, dotfiles/.local/software/desktop/Wingetfile, dotfiles/.local/software/development/Packages.config, dotfiles/.local/software/development/Scoopfile, dotfiles/.local/software/terminal/Brewfile, dotfiles/.local/software/terminal/Packages.config, dotfiles/.local/software/terminal/Scoopfile, dotfiles/.local/software/Gasfile.yml, dotfiles/.local/share/chezmoi/home/.chezmoiexternal.toml, dotfiles/.local/share/chezmoi/home/.chezmoidata.yaml, dotfiles/.local/share/chezmoi/system/etc/timeshift/timeshift.json, dotfiles/.local/share/chezmoi/home/private_dot_config/VirtualBox/VirtualBox.xml.tmpl, dotfiles/.local/share/chezmoi/home/Library/VirtualBox/VirtualBox.xml, dotfiles/.local/share/chezmoi/home/dot_VirtualBox/VirtualBox.xml, dotfiles/.local/share/chezmoi/home/private_dot_config/shell/exports.tmpl, dotfiles/.local/share/chezmoi/system/.chezmoiexternal.toml, dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_install-software, dotfiles/.local/share/chezmoi/home/private_dot_config/shell/aliases.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/roles/run_onchange_after_symlink-ansible-roles, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/symlink_environments.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/symlink_playbooks.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/tasks/symlink_qubes.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/symlink_README.md.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/symlink_Vagrantfile.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/symlink_ansible.cfg.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/symlink_main.yml.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/symlink_requirements.yml.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/run_onchange_after_symlink-ansible-configs, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/symlink_docs.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/plugins/action/symlink_commonlib.py.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/plugins/action/symlink_qubes_pass.py.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/plugins/action/symlink_qubesformation.py.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/plugins/action/symlink_qubesguid.py.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/plugins/action/symlink_qubessls.py.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/plugins/connection/symlink_qubes.py.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/plugins/lookup/symlink_jq.py.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/plugins/lookup/symlink_qubes-pass.py.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/plugins/library/symlink_qubes_pass.py.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/plugins/library/symlink_qubesformation.py.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/plugins/library/symlink_qubesguid.py.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/share/ansible/plugins/library/symlink_qubessls.py.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/bin/symlink_bombshell-client.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/bin/symlink_qrun.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/bin/symlink_qssh.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/bin/symlink_qscp, dotfiles/.local/share/chezmoi/home/.chezmoi.yaml.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/bin/run_onchange_ensure-executable.tmpl
Deleted dotfiles/.local/share/chezmoi/home/private_dot_config/environments/work
2022-11-27 06:59:13 -08:00
|
|
|
qubes: {{ ne (stat (joinPath "usr" "bin" "qubes-session")) false }}
|
2022-12-02 08:19:11 -08:00
|
|
|
softwareGroup: "{{ $softwareGroup }}"
|
2023-01-05 01:29:03 -08:00
|
|
|
type: "{{ $chassisType }}"
|
2022-11-24 03:47:02 -08:00
|
|
|
work: {{ $work }}
|
|
|
|
restricted: {{ $restricted }}
|
|
|
|
headless: {{ $headless }}
|
|
|
|
toolchains:
|
|
|
|
{{- range $toolchain, $enabled := $toolchainsEnabled }}
|
|
|
|
{{ $toolchain}}: {{ $enabled }}
|
|
|
|
{{- end }}
|
|
|
|
user:
|
2022-11-24 03:54:18 -08:00
|
|
|
email: "{{ $email }}"
|
|
|
|
name: "{{ $name }}"
|
2022-11-27 11:38:16 -08:00
|
|
|
username: "{{ output "echo" "$USER" }}"
|
2022-11-24 03:54:18 -08:00
|
|
|
domain: "{{ $domain }}"
|
Update dotfiles/.config/age/run_once_before_decrypt-private-key.sh.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoi.yaml.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiexternal.toml, dotfiles/.local/share/chezmoi/home/.chezmoitemplates/darwin/Brewfile, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/fedora/run_onchange_before_10-install-fedora-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/freebsd/run_onchange_before_11-install-freebsd-packages.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/opensuse/run_onchange_before_11-install-opensuse-software.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/ubuntu/run_onchange_before_10_install-ubuntu-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/centos/run_onchange_before_10-install-centos-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/debian/run_onchange_before_10-install-debian-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_before_90-install-packages.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_before_91-configure-gpg.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoidata.yml
2022-11-27 09:46:53 -08:00
|
|
|
gpg:
|
|
|
|
id: "{{ $gpgKeyId }}"
|
2022-11-30 00:00:35 -08:00
|
|
|
gmail:
|
|
|
|
email: "{{ $gmailAddress }}"
|
|
|
|
password: "{{ $gmailAddressAppPassword }}"
|
2022-11-24 14:27:51 -08:00
|
|
|
githubUsername: "{{ $githubUsername }}"
|
Update dotfiles/.local/share/chezmoi/home/dot_ssh/create_encrypted_private_readonly_private_id_rsa.tmpl, dotfiles/.local/share/chezmoi/home/dot_ssh/run_onchanges_after_generate-public-keys, dotfiles/.local/share/chezmoi/system-linux/etc/systemd/system/r2-{{ .user.username }}.service.tmpl, dotfiles/.local/share/chezmoi/system-linux/usr/local/bin/executable_rclone-mount, dotfiles/.local/share/chezmoi/home/dot_cache/readonly_rclone/.gitkeep, dotfiles/.local/share/chezmoi/system-linux/var/cache/readonly_rclone/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/system-linux/etc/rcloneignore, dotfiles/.local/share/chezmoi/system-linux/etc/systemd/system/r2-docker.service, dotfiles/.local/share/chezmoi/system-linux/mnt/private_r2-docker/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/system-linux/var/log/user/run_onchange_after-symlink-user-logs, dotfiles/.local/share/chezmoi/home/.chezmoi.yaml.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/log/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/home/private_dot_config/rclone/merge_rclone.conf
Deleted dotfiles/.local/share/chezmoi/home/dot_ssh/id_rsa.pub
2022-11-24 19:04:16 -08:00
|
|
|
locale: "{{ $locale }}"
|
|
|
|
timezone: "{{ $timezone }}"
|
2022-12-02 11:11:28 -08:00
|
|
|
holdSudoPrivileges: true
|
2022-11-24 10:02:22 -08:00
|
|
|
CLOUDFLARE_USERNAME: "{{ $cloudflareUsername }}"
|
Update dotfiles/.local/share/chezmoi/home/dot_ssh/create_encrypted_private_readonly_private_id_rsa.tmpl, dotfiles/.local/share/chezmoi/home/dot_ssh/run_onchanges_after_generate-public-keys, dotfiles/.local/share/chezmoi/system-linux/etc/systemd/system/r2-{{ .user.username }}.service.tmpl, dotfiles/.local/share/chezmoi/system-linux/usr/local/bin/executable_rclone-mount, dotfiles/.local/share/chezmoi/home/dot_cache/readonly_rclone/.gitkeep, dotfiles/.local/share/chezmoi/system-linux/var/cache/readonly_rclone/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/system-linux/etc/rcloneignore, dotfiles/.local/share/chezmoi/system-linux/etc/systemd/system/r2-docker.service, dotfiles/.local/share/chezmoi/system-linux/mnt/private_r2-docker/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/system-linux/var/log/user/run_onchange_after-symlink-user-logs, dotfiles/.local/share/chezmoi/home/.chezmoi.yaml.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/log/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/home/private_dot_config/rclone/merge_rclone.conf
Deleted dotfiles/.local/share/chezmoi/home/dot_ssh/id_rsa.pub
2022-11-24 19:04:16 -08:00
|
|
|
CLOUDFLARE_ACCESS_KEY_ID: "{{ $cloudflareAccessKeyId }}"
|
|
|
|
CLOUDFLARE_SECRET_ACCESS_KEY: "{{ $cloudflareSecretAccessKey }}"
|
|
|
|
CLOUDFLARE_R2_ACCOUNT_ID: "{{ $cloudflareR2AccountId }}"
|
Update dotfiles/.local/share/chezmoi/home/private_dot_config/shell/encrypted_private_dot_private, dotfiles/.local/share/chezmoi/home/.chezmoi.yaml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/config.yaml.tmpl, dotfiles/.local/share/chezmoi/home/dot_ssh/run_onchanges_after_generate-public-keys.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_run, dotfiles/.local/share/chezmoi/home/private_dot_config/oh-my-posh/Betelgeuse-minimal.omp.json, dotfiles/.local/share/chezmoi/home/dot_local/state/bash/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/home/dot_local/state/zsh/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_after_60-cleanup.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/.config/symlink_taskfiles, dotfiles/.local/share/chezmoi/home/dot_local/symlink_Taskfile-upstream.yml.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/Taskfile-local.yml, dotfiles/.local/share/chezmoi/home/private_dot_config/rofi/config.rasi.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoidata.yml
Deleted dotfiles/.local/share/chezmoi/home/dot_local/state/bash/.gitkeep, dotfiles/.local/share/chezmoi/home/dot_local/state/zsh/.gitkeep
2022-11-27 08:17:07 -08:00
|
|
|
CLOUDSDK_CORE_PROJECT: "megabyte-labs"
|
|
|
|
GCE_CREDENTIALS_FILE: "{{ joinPath .chezmoi.homeDir ".config" "gcp.json" }}"
|
|
|
|
GCE_SERVICE_ACCOUNT_EMAIL: "molecule@megabyte-labs.iam.gserviceaccount.com"
|
2022-12-06 04:53:19 -08:00
|
|
|
GITHUB_GIST_TOKEN: "{{ $githubGistToken }}"
|
2022-11-24 10:02:22 -08:00
|
|
|
GITHUB_READ_TOKEN: "{{ $githubReadToken }}"
|
|
|
|
GITLAB_READ_TOKEN: "{{ $gitlabReadToken }}"
|
2022-11-24 03:54:18 -08:00
|
|
|
NGROK_AUTH_TOKEN: "{{ $ngrokAuthToken }}"
|
|
|
|
SLACK_API_TOKEN: "{{ $slackApiToken }}"
|
Update dotfiles/.local/share/chezmoi/home/private_dot_config/shell/encrypted_private_dot_private, dotfiles/.local/share/chezmoi/home/.chezmoi.yaml.tmpl, dotfiles/.local/share/chezmoi/home/private_dot_config/tabby/config.yaml.tmpl, dotfiles/.local/share/chezmoi/home/dot_ssh/run_onchanges_after_generate-public-keys.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_run, dotfiles/.local/share/chezmoi/home/private_dot_config/oh-my-posh/Betelgeuse-minimal.omp.json, dotfiles/.local/share/chezmoi/home/dot_local/state/bash/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/home/dot_local/state/zsh/remove_dot_gitkeep, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_after_60-cleanup.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/.config/symlink_taskfiles, dotfiles/.local/share/chezmoi/home/dot_local/symlink_Taskfile-upstream.yml.tmpl, dotfiles/.local/share/chezmoi/home/dot_local/Taskfile-local.yml, dotfiles/.local/share/chezmoi/home/private_dot_config/rofi/config.rasi.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoidata.yml
Deleted dotfiles/.local/share/chezmoi/home/dot_local/state/bash/.gitkeep, dotfiles/.local/share/chezmoi/home/dot_local/state/zsh/.gitkeep
2022-11-27 08:17:07 -08:00
|
|
|
SNAPCRAFT_EMAIL: "{{ $email }}"
|
|
|
|
TABBY_CONFIG_ID: "{{ $tabbyConfigId }}"
|
2022-11-24 03:54:18 -08:00
|
|
|
TABBY_SYNC_TOKEN: "{{ $tabbySyncToken }}"
|
2022-12-08 20:25:43 -08:00
|
|
|
TAILSCALE_AUTH_KEY: "{{ $tailscaleAuthKey }}"
|
2022-11-28 19:00:23 -08:00
|
|
|
TINYPNG_API_KEY: "g355tx7dxG5yJfl0RXJnpQlQqk88dJBv"
|
2022-11-24 03:00:11 -08:00
|
|
|
diff:
|
2022-11-24 03:54:18 -08:00
|
|
|
format: "git"
|
|
|
|
pager: "delta"
|
2022-11-24 03:00:11 -08:00
|
|
|
git:
|
2022-11-24 03:47:02 -08:00
|
|
|
autoCommit: true
|
|
|
|
autoPush: true
|
2022-11-24 10:02:22 -08:00
|
|
|
scriptEnv:
|
|
|
|
LEXICON_CLOUDFLARE_USERNAME: "{{ $cloudflareUsername }}"
|
|
|
|
LEXICON_CLOUDFLARE_TOKEN: "{{ $cloudflareToken }}"
|
2022-11-24 03:34:08 -08:00
|
|
|
textconv:
|
|
|
|
- pattern: "**/*.plist"
|
|
|
|
command: "plutil"
|
|
|
|
args:
|
|
|
|
- "-convert"
|
|
|
|
- "xml1"
|
|
|
|
- "-o"
|
2022-11-24 03:57:21 -08:00
|
|
|
- "-"
|
2022-11-24 03:34:08 -08:00
|
|
|
- "-"
|