Skip to content

Commit 4e29505

Browse files
committed
feat: switch to railwaycat/emacs-mac and clean up
1 parent b9e4228 commit 4e29505

2 files changed

Lines changed: 19 additions & 30 deletions

File tree

requirements.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1+
12
---
23
collections:
3-
- name: https://github.com/ansible-collections/community.general
4-
type: git
5-
version: 4c379bd3b2147710c3e7a1d900cddf47a6b7cd42
4+
- name: community.general
65

76
roles:
87
- name: geerlingguy.mas

roles/editors/tasks/main.yml

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,25 @@
11
---
2-
- name: Tap into d12frosted/emacs-plus
3-
homebrew_tap: tap=d12frosted/emacs-plus state=present
4-
when: ansible_os_family|lower == 'darwin'
5-
6-
- name: Tap into homebrew/cask-fonts
7-
homebrew_tap:
8-
name: homebrew/cask-fonts
9-
state: present
10-
when: ansible_os_family|lower == 'darwin'
11-
122
- name: Install emacs
13-
homebrew: name=emacs-plus state=present
3+
community.general.homebrew:
4+
name: railwaycat/emacsmacport/emacs-mac
5+
state: latest
6+
install_options: with-modern-icon
147
when: ansible_os_family|lower == 'darwin'
158

16-
- name: Setup emacs startup daemon
17-
shell: brew services start d12frosted/emacs-plus/emacs-plus
9+
- name: Install editor fonts
10+
community.general.homebrew_cask:
11+
name:
12+
- homebrew/cask-fonts/font-fira-mono-nerd-font
13+
state: latest
1814
when: ansible_os_family|lower == 'darwin'
1915

20-
- name: Install spacemacs
21-
git:
22-
repo: 'https://github.com/syl20bnr/spacemacs'
23-
dest: ~/.emacs.d
24-
version: develop
25-
26-
- name: Install editor fonts
27-
homebrew_cask:
28-
name: "{{ item }}"
29-
state: present
30-
with_items:
31-
- font-source-code-pro
32-
- font-fira-mono-nerd-font
16+
- name: Install doom emacs
17+
ansible.builtin.git:
18+
repo: "https://github.com/hlissner/doom-emacs"
19+
dest: "${HOME}/.emacs.d"
20+
depth: 1
3321

3422
- name: Install Visual Studio Code
35-
homebrew_cask: name=visual-studio-code state=present
23+
community.general.homebrew_cask:
24+
name: visual-studio-code
25+
state: latest

0 commit comments

Comments
 (0)