Sivert V. Sæther
fc8fc4e9c8
Added home variable for the home folder, defaults to username. Edited neofetch config so it runs faster. Added mukti and ctrl-c.club variables.
21 lines
638 B
YAML
21 lines
638 B
YAML
- name: Setup doom emacs
|
|
when: "'emacs' in setup"
|
|
tags: [doom,emacs]
|
|
block:
|
|
- name: Remove old emacs config
|
|
file: state=absent path={{ home }}/.emacs.d
|
|
- name: Git clone doom emacs
|
|
git:
|
|
repo: https://github.com/hlissner/doom-emacs
|
|
dest: "{{ home }}/.emacs.d"
|
|
accept_newhostkey: yes
|
|
single_branch: yes
|
|
version: master
|
|
depth: 1
|
|
- name: Install doom emacs
|
|
shell: |
|
|
chown -R {{ name }} {{ home }}/.emacs.d
|
|
echo "y\ny"|su {{ name }} {{ home }}/.emacs.d/bin/doom install
|
|
#* ^ Above we answer terminal prompts
|
|
# - name: Add doom emacs config
|
|
# - name: Run doom sync |