mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2024-11-10 00:59:38 +00:00
chore(global): general devbox + git config chaos
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
parent
23e8e7d0a4
commit
f440cb0801
7 changed files with 68 additions and 22 deletions
6
.bashrc
6
.bashrc
|
@ -41,6 +41,8 @@ export EDITOR=nano
|
|||
# Context: https://git.sr.ht/~sircmpwn/dotfiles/tree/master/item/.profile#L13-15
|
||||
# and https://drewdevault.com/2021/08/06/goproxy-breaks-go.html
|
||||
export GOPROXY=direct GOSUMDB=off
|
||||
# nix profile install nixpkgs#glibcLocale
|
||||
export LOCALE_ARCHIVE="$HOME/.nix-profile/lib/locale/locale-archive"
|
||||
|
||||
## Stage 2: Source literally everything else ##
|
||||
if [[ -d "$HOME/.bashbox" ]]; then
|
||||
|
@ -62,4 +64,6 @@ export NVM_DIR="$HOME/.nvm"
|
|||
# make sure shell completions are loaded too
|
||||
. "$HOME/.asdf/asdf.sh"
|
||||
. "$HOME/.asdf/completions/asdf.bash"
|
||||
source <(gopass completion bash)
|
||||
|
||||
eval "$(gopass completion bash)"
|
||||
eval "$(devbox global shellenv)"
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
name = Andrei Jiroh Halili (RecapTime.dev)
|
||||
email = ajhalili2006@crew.recaptime.eu.org
|
||||
signingkey = 52B6B65187A7469A
|
||||
|
||||
[commit]
|
||||
template = /home/ajhalili2006/.config/git/commit-message-templates/recaptime-dev
|
||||
[url "ssh://git@git.jetbrains.space/recaptime/"]
|
||||
pushInsteadOf = "https://git.jetbrains.space/recaptime/"
|
||||
insteadOf = "https://git.jetbrains.space/recaptime/"
|
||||
|
|
|
@ -14,10 +14,11 @@ RememberWindowSize=false
|
|||
ShowWindowTitleOnTitleBar=true
|
||||
|
||||
[MainWindow]
|
||||
1366x768 screen: Height=554
|
||||
1366x768 screen: Height=584
|
||||
1366x768 screen: Width=911
|
||||
1366x768 screen: Window-Maximized=true
|
||||
1366x768 screen: XPosition=227
|
||||
1366x768 screen: YPosition=141
|
||||
1366x768 screen: YPosition=126
|
||||
2 screens: Height=699
|
||||
2 screens: Width=1366
|
||||
2 screens: Window-Maximized=true
|
||||
|
@ -36,9 +37,8 @@ HDMI-1 eDP-1 Window-Maximized 1366x768 HDMI-1=true
|
|||
HDMI-1 eDP-1 Window-Maximized 1366x768 eDP-1=true
|
||||
HDMI-1 eDP-1 XPosition 1366x768 HDMI-1=1366
|
||||
HDMI-1 eDP-1 YPosition 1366x768 HDMI-1=67
|
||||
MenuBar=Disabled
|
||||
RestorePositionForNextInstance=false
|
||||
State=AAAA/wAAAAD9AAAAAQAAAAAAAAD1AAACjfwCAAAAAvsAAAAiAFEAdQBpAGMAawBDAG8AbQBtAGEAbgBkAHMARABvAGMAawAAAAAA/////wAAAXwBAAAD+wAAABwAUwBTAEgATQBhAG4AYQBnAGUAcgBEAG8AYwBrAAAAAC4AAAKNAAABFQEAAAMAAAOPAAAB/AAAAAQAAAAEAAAACAAAAAj8AAAAAQAAAAIAAAACAAAAFgBtAGEAaQBuAFQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAAAAAAAAAABwAcwBlAHMAcwBpAG8AbgBUAG8AbwBsAGIAYQByAQAAAOj/////AAAAAAAAAAA=
|
||||
MenuBar=Enabled
|
||||
State=AAAA/wAAAAD9AAAAAQAAAAAAAAD1AAACjfwCAAAAAvsAAAAiAFEAdQBpAGMAawBDAG8AbQBtAGEAbgBkAHMARABvAGMAawAAAAAA/////wAAAXkBAAAD+wAAABwAUwBTAEgATQBhAG4AYQBnAGUAcgBEAG8AYwBrAAAAAC4AAAKNAAABEQEAAAMAAAVWAAACbwAAAAQAAAAEAAAACAAAAAj8AAAAAQAAAAIAAAACAAAAFgBtAGEAaQBuAFQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAAAAAAAAAABwAcwBlAHMAcwBpAG8AbgBUAG8AbwBsAGIAYQByAQAAAOj/////AAAAAAAAAAA=
|
||||
ToolBarsMovable=Disabled
|
||||
eDP-1=eDP-1
|
||||
eDP-1 HDMI-1=eDP-1
|
||||
|
|
25
.gitconfig
25
.gitconfig
|
@ -6,6 +6,7 @@
|
|||
|
||||
[commit]
|
||||
gpgSign = true
|
||||
template = /home/ajhalili2006/.config/git/commit-message-templates/default
|
||||
[tag]
|
||||
gpgSign = true
|
||||
forceSignAnnotated = true
|
||||
|
@ -21,18 +22,6 @@
|
|||
[receive]
|
||||
fsckObjects = true
|
||||
|
||||
# project-specific configurations
|
||||
#[includeIf "gitdir/i:~/git-projects/sandbox"]
|
||||
# path = ~/.config/git/ajhalili2006-experiments.include.gitconfig
|
||||
#[includeIf "gitdir/i:~/projects/labs.andreijiroh.dev"]
|
||||
# path = ~/.config/git/ajhalili2006-experiments.include.gitconfig
|
||||
[includeIf "gitdir/i:~/git-projects/recaptime.dev"]
|
||||
path = ~/.config/git/recaptime-dev.include.gitconfig
|
||||
[includeIf "gitdir/i:~/projects/recaptime.dev"]
|
||||
path = ~/.config/git/recaptime-dev.include.gitconfig
|
||||
#[includeIf "gitdir/i:~projects/"]
|
||||
# path = ~/.config/git/ajhalili2006.include.gitconfig
|
||||
|
||||
# authentication hellscape
|
||||
[credential "https://github.com"]
|
||||
helper =
|
||||
|
@ -89,4 +78,14 @@
|
|||
[core]
|
||||
# editor = flatpak run re.sonny.Commit
|
||||
|
||||
|
||||
# project-specific configurations
|
||||
#[includeIf "gitdir/i:~/git-projects/sandbox"]
|
||||
# path = ~/.config/git/ajhalili2006-experiments.include.gitconfig
|
||||
#[includeIf "gitdir/i:~/projects/labs.andreijiroh.dev"]
|
||||
# path = ~/.config/git/ajhalili2006-experiments.include.gitconfig
|
||||
[includeIf "gitdir/i:~/git-projects/recaptime.dev/"]
|
||||
path = ~/.config/git/recaptime-dev.include.gitconfig
|
||||
[includeIf "gitdir/i:~/projects/recaptime.dev/"]
|
||||
path = ~/.config/git/recaptime-dev.include.gitconfig
|
||||
#[includeIf "gitdir/i:~projects/"]
|
||||
# path = ~/.config/git/ajhalili2006.include.gitconfig
|
||||
|
|
17
.local/share/devbox/global/default/devbox.json
Normal file
17
.local/share/devbox/global/default/devbox.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"packages": [
|
||||
"gita@latest",
|
||||
"shfmt@latest",
|
||||
"hadolint@latest"
|
||||
],
|
||||
"shell": {
|
||||
"init_hook": [
|
||||
"echo 'Welcome to devbox!' > /dev/null"
|
||||
],
|
||||
"scripts": {
|
||||
"test": [
|
||||
"echo \"Error: no test specified\" && exit 1"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
23
.local/share/devbox/global/default/devbox.lock
Normal file
23
.local/share/devbox/global/default/devbox.lock
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"lockfile_version": "1",
|
||||
"packages": {
|
||||
"gita@latest": {
|
||||
"last_modified": "2023-06-30T04:44:22Z",
|
||||
"resolved": "github:NixOS/nixpkgs/3c614fbc76fc152f3e1bc4b2263da6d90adf80fb#gita",
|
||||
"source": "devbox-search",
|
||||
"version": "0.11.9"
|
||||
},
|
||||
"hadolint@latest": {
|
||||
"last_modified": "2023-07-23T03:35:12Z",
|
||||
"resolved": "github:NixOS/nixpkgs/af8cd5ded7735ca1df1a1174864daab75feeb64a#hadolint",
|
||||
"source": "devbox-search",
|
||||
"version": "2.12.0"
|
||||
},
|
||||
"shfmt@latest": {
|
||||
"last_modified": "2023-08-08T03:07:33Z",
|
||||
"resolved": "github:NixOS/nixpkgs/844ffa82bbe2a2779c86ab3a72ff1b4176cec467#shfmt",
|
||||
"source": "devbox-search",
|
||||
"version": "3.7.0"
|
||||
}
|
||||
}
|
||||
}
|
6
.profile
6
.profile
|
@ -24,7 +24,9 @@ fi
|
|||
export PATH="$PATH:/home/ajhalili2006/.local/share/JetBrains/Toolbox/scripts"
|
||||
|
||||
# Import asdf to shell
|
||||
export ASDF_DIR="$HOME/.asdf"
|
||||
. "$HOME/.asdf/asdf.sh"
|
||||
#export ASDF_DIR="$HOME/.asdf"
|
||||
#. "$HOME/.asdf/asdf.sh"
|
||||
|
||||
eval "$(devbox global shellenv)"
|
||||
|
||||
_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true
|
||||
|
|
Loading…
Reference in a new issue