From e39383a1fcc0338451035e7e5470e3afa40faad8 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Mon, 18 Sep 2023 20:29:33 -0700 Subject: [PATCH] first attempt at config for work --- home/.chezmoidata.yaml.example | 1 + home/.chezmoiignore.tmpl | 39 +++++++++++++++++----- home/{dot_gitconfig => dot_gitconfig.tmpl} | 9 +++++ 3 files changed, 41 insertions(+), 8 deletions(-) rename home/{dot_gitconfig => dot_gitconfig.tmpl} (62%) diff --git a/home/.chezmoidata.yaml.example b/home/.chezmoidata.yaml.example index bfabec5e..9636c621 100644 --- a/home/.chezmoidata.yaml.example +++ b/home/.chezmoidata.yaml.example @@ -5,3 +5,4 @@ network_interface: reeeeee git_user: hAxOr git_email: &my_email dude@bro.com bitwarden_email: *my_email +work: false diff --git a/home/.chezmoiignore.tmpl b/home/.chezmoiignore.tmpl index 5c345db5..6f9e300d 100644 --- a/home/.chezmoiignore.tmpl +++ b/home/.chezmoiignore.tmpl @@ -1,12 +1,35 @@ .oh-my-zsh/cache/** -readme.md -.gitignore -.git -provision -additional-setup.md -.gen -{{ if eq .chezmoi.osRelease.id "alpine" }} -* +{{ if .work }} +bin +.config/alacritty +.config/btrbk +.config/crafted-emacs +.config/herbstluftwm +.config/i3 +.config/khal +.config/khard +.config/lazygit +.config/mako +.config/mpd +.config/ncmpcpp .config/nvim +.config/picom +.config/polybar +.config/private_user-dirs.dirs +.config/qtile +.config/retroarch +.config/rofi +.config/scratch +.config/stumpwm +.config/sway +.config/user-dirs.conf +.config/vdirsyncer +.config/vifm +.config/waybar +.config/xmobar +.config/xmonad +.config/zk +.taskopenrc +.taskrc {{ end }} diff --git a/home/dot_gitconfig b/home/dot_gitconfig.tmpl similarity index 62% rename from home/dot_gitconfig rename to home/dot_gitconfig.tmpl index 6f9e1c32..a838c349 100644 --- a/home/dot_gitconfig +++ b/home/dot_gitconfig.tmpl @@ -1,6 +1,14 @@ # https://github.com/starr-dusT/dotfiles # Global .gitconfig +{{ if .work }} +[user] + email = tyler.starr.1@us.af.mil + name = Tyler Starr + +[github] + user = "tstarr" +{{ else }} [user] email = starrtyler88@gmail.com name = Tyler Starr @@ -10,3 +18,4 @@ [core] sshCommand = "ssh -i ~/.ssh/keys/github_personal" +{{ end }}