Add yadm is dotfiles manager
This commit is contained in:
parent
12349398f3
commit
7c11c4352c
19 changed files with 68 additions and 15 deletions
15
.config/env.d/10-paths
Normal file
15
.config/env.d/10-paths
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
export GOPATH="$XDG_DATA_HOME/go"
|
||||
|
||||
export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH"
|
||||
|
||||
|
||||
# add my paths
|
||||
export PATH="$HOME/.local/bin:$HOME/.bin:$PATH"
|
||||
# add lang paths
|
||||
export PATH="$GOPATH/bin:$HOME/.cargo/bin:$PATH"
|
||||
# add tool paths
|
||||
export PATH="$HOME/.local/share/JetBrains/Toolbox/scripts:$PATH"
|
||||
# add nix paths
|
||||
export PATH="/home/serguzim/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$PATH"
|
4
.config/env.d/20-ansible
Normal file
4
.config/env.d/20-ansible
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
export ANSIBLE_VAULT_PASSWORD_FILE="$HOME/.bin/ansible-vault-pass.sh"
|
||||
export ANSIBLE_PYTHON_INTERPRETER='auto_silent'
|
17
.config/env.d/20-files
Normal file
17
.config/env.d/20-files
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
export KUBECONFIG="$HOME/.kube/config"
|
||||
|
||||
export MAILCAPS="$XDG_CONFIG_HOME/mailcap/mailcaprc"
|
||||
export MARKPATH="$XDG_CONFIG_HOME/zsh/jump_marks"
|
||||
|
||||
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/config"
|
||||
|
||||
export OSH="$XDG_CONFIG_HOME/bash/oh-my-bash"
|
||||
|
||||
export SQLITE_HISTORY="$HOME/.local/cache/sqlite_history"
|
||||
|
||||
export WAKATIME_HOME="$XDG_CONFIG_HOME/wakatime"
|
||||
|
||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||
export ZSH="$ZDOTDIR/oh-my-zsh"
|
18
.config/env.d/20-flatpak
Normal file
18
.config/env.d/20-flatpak
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
|
||||
if [ -n "$XDG_DATA_HOME" ] && [ -d "$XDG_DATA_HOME/flatpak/exports/bin" ]; then
|
||||
export PATH="$XDG_DATA_HOME/flatpak/exports/bin:$PATH"
|
||||
fi
|
||||
|
||||
if [ -d /var/lib/flatpak/exports/bin ]; then
|
||||
export PATH="/var/lib/flatpak/exports/bin:$PATH"
|
||||
fi
|
||||
|
||||
if [ -n "$XDG_DATA_HOME" ] && [ -d "$XDG_DATA_HOME/flatpak/exports/share" ]; then
|
||||
export XDG_DATA_DIRS="$XDG_DATA_HOME/flatpak/exports/share:$XDG_DATA_DIRS"
|
||||
fi
|
||||
|
||||
if [ -d "/var/lib/flatpak/exports/share" ]; then
|
||||
export XDG_DATA_DIRS="/var/lib/flatpak/exports/share:$XDG_DATA_DIRS"
|
||||
fi
|
7
.config/env.d/30-services
Normal file
7
.config/env.d/30-services
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
export DRONE_SERVER='https://ci.serguzim.me'
|
||||
|
||||
export OPENFAAS_URL="https://faas.serguzim.me"
|
||||
|
||||
export WOODPECKER_SERVER="https://ci.serguzim.me"
|
16
.config/env.d/90-conditionals
Normal file
16
.config/env.d/90-conditionals
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
# shellcheck disable=2089
|
||||
[ -x "$(command -v bat)" ] && export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||
# shellcheck disable=2090
|
||||
[ -x "$(command -v moar)" ] && export MANPAGER="moar"
|
||||
[ -x "$(command -v moar)" ] && export PAGER="moar"
|
||||
|
||||
[ -x "$(command -v nvim)" ] && export EDITOR="$(which nvim)"
|
||||
|
||||
[ -x "$(command -v gpgconf)" ] && export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||
|
||||
[ -x "$(command -v home-manager)" ] \
|
||||
&& [ -x "$(command -v nix)" ] \
|
||||
&& [ -f "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" ] \
|
||||
&& . "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
|
6
.config/env.d/99-local##hostname.portalo
Normal file
6
.config/env.d/99-local##hostname.portalo
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
export AUTOSTART_DISPLAY="Hyprland"
|
||||
|
||||
export MONITOR_PRIMARY="DisplayPort-0"
|
||||
export MONITOR_SECONDARY="HDMI-A-0"
|
Loading…
Add table
Add a link
Reference in a new issue