pinch-dotfiles/salty/base/spacemacs/init.sls

24 lines
595 B
Text
Raw Normal View History

2017-01-12 00:04:20 +00:00
spacemacs:
pkg.installed:
{% if grains['kernel'] == 'Darwin' %}
2017-01-12 00:04:20 +00:00
- name: emacs-plus
2017-03-18 07:12:55 +00:00
- taps: 'd12frosted/emacs-plus'
{% elif grains['kernel'] == 'Linux' %}
2017-01-12 00:04:20 +00:00
- name: emacs
{% endif %}
spacemacs-repo:
git.latest:
- name: https://github.com/syl20bnr/spacemacs
- target: {{ grains.homedir }}/.emacs.d
- user: {{ grains.user }}
spacemacs-config:
file.managed:
- name: {{ grains.homedir }}/.spacemacs
- source: salt:///spacemacs/files/spacemacsconfig
- user: {{ grains.user }}
- group: {{ grains.user }}
2017-01-14 17:19:55 +00:00
- template: jinja
2017-01-12 00:04:20 +00:00
- force: True