Compare commits

...

5 Commits

6 changed files with 48 additions and 4 deletions

View File

@ -21,7 +21,8 @@
~/.config/systemd/mpDris2.service: mpd/mpDris2.service
~/.profile: profile.sh
~/.ssh/config: ssh/config
~/.ssh/config.d/github: ssh/config.d/github
~/.ssh/config.d/00_README: ssh/config.d/00_README
~/.ssh/config.d/99-git_wilcard.config: ssh/config.d/99-git_wilcard.config
~/.tmux.conf: tmux/tmux.conf
~/.vimrc: vim/vimrc
~/.xinitrc: X11/xinitrc
@ -32,5 +33,9 @@
~/.config/awesome: awesome
~/.config/redshift.conf: redshift/redshift.conf
- create:
~/.ssh/keys/:
mode: 0700
#- shell:
# - git submodules update # after linking ~/.gitconfig

22
install-local-dotfiles.sh Executable file
View File

@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -e
case "$1" in
-h|--help|--usage)
echo "$0: [local-dotfile-directory]"
echo
echo "Retrieves a local dotfile repository and puts it at \$local-dotfile-directory."
exit 0
;;
esac
LOCAL_DIR="${1:-$HOME/.dotfiles-local}"
LOCAL_GIT="git@git.deboone.nl:ericteunis/dotfiles-local.git"
git clone $LOCAL_GIT $LOCAL_DIR
# Optionally run the install script directly
if false; then
$LOCAL_DIR/install.sh
fi

View File

@ -13,3 +13,7 @@ git pull || echo "Pulling from remote failed"
git submodule update --init --recursive "${DOTBOT_DIR}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
# Make sure ssh/config is only read/writable for owner
chmod 600 ssh/config

13
ssh/config.d/00_README Normal file
View File

@ -0,0 +1,13 @@
# Separate SSH configurations
#
# This directory contains various separate ssh configurations.
# Ordering of various lemmas is important. Therefore, one can use
# a numeric prefix for ordering.
#
# At the time of writing, the current scheme has two priorities:
# * `20-` domain specific configurations
# * `30-` host specific configurations
#
# Other prefixes can be added at will as long as the numeric ordering
# is maintained.

View File

@ -0,0 +1,3 @@
# Some git domain such as github.com, gitlab.com, or git.*
Host git*
User git

View File

@ -1,3 +0,0 @@
# Github
Host github.com
User git