Move elisp into a folder and switch to emacs-wayland on linux.
This commit is contained in:
parent
c9617dd3cc
commit
ed25cd6d31
0
ansible/roles/emacs/files/early-init.el
Normal file
0
ansible/roles/emacs/files/early-init.el
Normal file
@ -2,7 +2,7 @@
|
||||
package:
|
||||
name:
|
||||
- aspell-en
|
||||
- emacs
|
||||
- emacs-wayland
|
||||
state: present
|
||||
|
||||
- name: Install packages
|
||||
|
@ -22,6 +22,8 @@
|
||||
loop:
|
||||
- src: init.el
|
||||
dest: .emacs.d/init.el
|
||||
- src: early-init.el
|
||||
dest: .emacs.d/early-init.el
|
||||
|
||||
- name: Configure dotfiles
|
||||
when: 'emacs_flavor == "plain"'
|
||||
@ -38,31 +40,13 @@
|
||||
- name: Configure elisp files
|
||||
when: 'emacs_flavor == "full"'
|
||||
copy:
|
||||
src: "files/{{ item }}"
|
||||
dest: "{{ account_homedir.stdout }}/.emacs.d/elisp/{{ item }}"
|
||||
mode: 0600
|
||||
src: "files/{{ item.src }}"
|
||||
dest: "{{ account_homedir.stdout }}/{{ item.dest }}"
|
||||
owner: "{{ account_name.stdout }}"
|
||||
group: "{{ group_name.stdout }}"
|
||||
loop:
|
||||
- base-extensions.el
|
||||
- base-functions.el
|
||||
- base-global-keys.el
|
||||
- base-theme.el
|
||||
- base.el
|
||||
- common-lsp.el
|
||||
- lang-bash.el
|
||||
- lang-dockerfile.el
|
||||
- lang-go.el
|
||||
- lang-javascript.el
|
||||
- lang-lua.el
|
||||
- lang-markdown.el
|
||||
- lang-org.el
|
||||
- lang-python.el
|
||||
- lang-rust.el
|
||||
- lang-terraform.el
|
||||
- lang-yaml.el
|
||||
- util-vertico.el
|
||||
- util-tree-sitter.el
|
||||
- src: elisp
|
||||
dest: .emacs.d/
|
||||
|
||||
- name: Configure zshrc additional imports
|
||||
copy:
|
||||
|
Loading…
x
Reference in New Issue
Block a user