Add etckeeper

This commit is contained in:
flyingscorpio@arch-desktop 2021-09-23 08:39:46 +02:00
parent 6f8242f830
commit cd31c4ebe1

View file

@ -128,6 +128,19 @@ git:
- dotfiles/git/ignore
- ~/.config/git/ignore
etckeeper:
- install:
- etckeeper
- run:
- sudo git config --global user.name "root@$(uname -n)";
sudo git config --global user.email "root@$(uname -n)";
sudo git config --global init.defaultBranch "main"
- run:
command: sudo etckeeper init
condition: "[ ! -d /etc/.git ]"
- run:
- sudo etckeeper commit "First commit"
git-summary:
- clone:
- https://gitlab.com/lordadamson/git-summary.git