Move gitconfig to xdg path
This commit is contained in:
parent
f0b6394c34
commit
8cddeda98a
@ -29,4 +29,4 @@
|
||||
latest = !sh -c 'git describe --tags $(git rev-list --tags --max-count=1) | xargs git checkout' -
|
||||
# conditonal config
|
||||
[includeIf "gitdir:**gitprojects/occ/**"]
|
||||
path = ~/.gitconfig-occ
|
||||
path = ~/.config/git/occ
|
1
roles/config/files/.ssh/config
Normal file
1
roles/config/files/.ssh/config
Normal file
@ -0,0 +1 @@
|
||||
AddKeysToAgent yes
|
@ -30,6 +30,7 @@
|
||||
loop:
|
||||
- "~/.emacs.d"
|
||||
- "~/scripts"
|
||||
- "~/.gitconfig"
|
||||
tags: config
|
||||
|
||||
- name: Copy new files and directories
|
||||
@ -42,21 +43,13 @@
|
||||
- ".config"
|
||||
- ".face"
|
||||
- ".fonts"
|
||||
- ".gitconfig"
|
||||
- ".gtkrc-2.0"
|
||||
- ".local"
|
||||
- ".ssh"
|
||||
- ".themes"
|
||||
- "scripts"
|
||||
tags: config
|
||||
|
||||
- name: Copy new templated files
|
||||
ansible.builtin.template:
|
||||
src: "{{ item }}"
|
||||
dest: "~/"
|
||||
loop:
|
||||
- ".ssh/config.j2"
|
||||
tags: config
|
||||
|
||||
- name: Copy new files and directories (root)
|
||||
ansible.posix.synchronize:
|
||||
src: "{{ item }}"
|
||||
|
@ -1,17 +0,0 @@
|
||||
AddKeysToAgent yes
|
||||
|
||||
Host gitlab.com
|
||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
||||
|
||||
Host github.com
|
||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
||||
|
||||
Host gitea.exu.li
|
||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
||||
|
||||
Host aur.archlinux.org
|
||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
||||
|
||||
Host git.open-circle.ch
|
||||
IdentityFile /home/exu/.ssh/id_ed25519_git
|
||||
AddressFamily inet
|
Loading…
Reference in New Issue
Block a user