Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
jpawlowski committed Aug 6, 2024
1 parent d9f8d14 commit 353a584
Show file tree
Hide file tree
Showing 21 changed files with 107 additions and 23 deletions.
1 change: 1 addition & 0 deletions .chezmoiroot
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home
Empty file removed .chezmoitemplates/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
],
"settings": {
"terminal.integrated.defaultProfile.linux": "pwsh",
"terminal.integrated.fontFamily": "'JetBrainsMono NFM', 'MesloLGM Nerd Font', Menlo, Monaco, 'Courier New', monospace",
"terminal.integrated.fontFamily": "'Cascadia Code', Menlo, Monaco, Consolas, 'Courier New', monospace",
"terminal.integrated.fontSize": 13
}
}
Expand Down
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions home/.chezmoitemplates/chezmoiexternal.d/common.yaml.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
".pyenv":
type: "git-repo"
url: "https://github.com/pyenv/pyenv.git"
refreshPeriod: "168h"

".pyenv/plugins/pyenv-virtualenv":
type: "git-repo"
url: "https://github.com/pyenv/pyenv-virtualenv"
refreshPeriod: "168h"
29 changes: 29 additions & 0 deletions home/.chezmoitemplates/chezmoiexternal.d/macos_client.yaml.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
".emacs.d":
type: "git-repo"
url: "https://github.com/syl20bnr/spacemacs"
refreshPeriod: "168h"

".zprezto":
type: "git-repo"
url: "https://github.com/sorin-ionescu/prezto"
refreshPeriod: "168h"
clone:
args: ["--recursive"]

".zprezto/modules/fzf":
type: "git-repo"
url: "https://github.com/lildude/fzf-prezto.git"
refreshPeriod: "168h"

".local/bin/client/git-open":
type: "file"
url: "https://raw.githubusercontent.com/paulirish/git-open/master/git-open"
executable: true
refreshPeriod: "168h"

{{ if ne (env "CI") "true" -}}
".work.d":
type: "git-repo"
url: "[email protected]:shunk031/dotfiles-private.git"
refreshPeriod: "1h"
{{- end }}
17 changes: 17 additions & 0 deletions home/.chezmoitemplates/chezmoiexternal.d/server.yaml.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
".local/bin/nvinfo":
type: "file"
url: "https://github.com/shunk031/nvinfo-go/releases/latest/download/nvinfo_linux_x86_64.tar.gz"
executable: true
refreshPeriod: "168h"
filter:
command: "tar"
args: ["--extract", "--file", "/dev/stdin", "--gzip", "--to-stdout", "nvinfo"]

".local/bin/autocvd":
type: "file"
url: "https://github.com/shunk031/autocvd-go/releases/latest/download/autocvd_linux_x86_64.tar.gz"
executable: true
refreshPeriod: "168h"
filter:
command: "tar"
args: ["--extract", "--file", "/dev/stdin", "--gzip", "--to-stdout", "autocvd"]
3 changes: 3 additions & 0 deletions home/.chezmoitemplates/chezmoiignore.d/common
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
com.googlecode.iterm2.plist
plugin.jupyterlab-settings
.key.txt.age
11 changes: 11 additions & 0 deletions home/.chezmoitemplates/chezmoiignore.d/macos
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.profile
.bashrc
.tmux.conf.d/os/ubuntu_client.conf
.tmux.conf.d/system/server.conf
.config/sheldon/plugins.toml

.local/bin/server
.zsh/server/zshrc
.zsh/server/zprofile

.bash/server/bashrc
9 changes: 9 additions & 0 deletions home/.chezmoitemplates/chezmoiignore.d/ubuntu/client
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.tmux.conf.d/system/server.conf
.config/sheldon/plugins.toml

.local/bin/server

.zsh/server/zshrc
.zsh/server/zshprofile

.bash/server/bashrc
2 changes: 2 additions & 0 deletions home/.chezmoitemplates/chezmoiignore.d/ubuntu/common
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.config/iterm2
Library
17 changes: 17 additions & 0 deletions home/.chezmoitemplates/chezmoiignore.d/ubuntu/server
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.zlogin
.zpreztorc
.zlogout

.config/anyconnect
.config/powerlevel10k
.config/zsh

.tmux.conf.d/os/ubuntu_client.conf
.tmux.conf.d/system/client.conf
.tmux-powerlinerc

.local/bin/client
.zsh/zshrc_client
.zsh/zprofile_client

.bash/client/bashrc
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions home/run_once_install-packages.sh.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{{ if eq .chezmoi.os "linux" -}}
#!/usr/bin/env bash
PATH="$PATH:$HOME/.local/bin"

# Install oh-my-posh terminal theme
mkdir -p "$HOME/.local/bin"
curl -fsSL https://ohmyposh.dev/install.sh | bash -s -- -d "$HOME/.local/bin"
{{ end -}}
22 changes: 0 additions & 22 deletions run_once_install-packages.sh.tmpl

This file was deleted.

0 comments on commit 353a584

Please sign in to comment.