main
Micke Nordin 1 year ago
parent 3d5908613b
commit cf3ebf765e

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

@ -43,7 +43,6 @@
autoclean: true
autoremove: true
install_recommends: true
pkg:
- nano
pkg: [nano]
state: absent
update_cache: true

@ -69,25 +69,25 @@
- name: Make my lvim real vim
become: true
ansible.builtin.file:
src: "/home/{{ uid }}/.local/bin/lvim"
src: /home/{{ uid }}/.local/bin/lvim
dest: /usr/local/bin/vim
state: link
when: not have_nvim.stat.exists
- name: Install lunarvim config
ansible.builtin.template:
src: ../templates/config.lua.j2
dest: "/home/{{ uid }}/.config/lvim/config.lua"
owner: "{{ uid }}"
group: "{{ uid }}"
dest: /home/{{ uid }}/.config/lvim/config.lua
owner: '{{ uid }}'
group: '{{ uid }}'
mode: '0644'
- name: Create sources dir
ansible.builtin.file:
dest: "/home/{{ uid }}/sources"
dest: /home/{{ uid }}/sources
state: directory
when: not have_nvim.stat.exists
- name: Get tabby plugin
ansible.builtin.command:
chdir: "/home/{{ uid }}/sources/"
chdir: /home/{{ uid }}/sources/
cmd: git clone https://github.com/TabbyML/tabby.git
creates: "/home/{{ uid }}/sources/tabby"
creates: /home/{{ uid }}/sources/tabby
when: not have_nvim.stat.exists

@ -8,12 +8,12 @@
tasks:
- name: Create ssh dir
ansible.builtin.file:
dest: "/home/{{ uid }}/.ssh"
dest: /home/{{ uid }}/.ssh
state: directory
- name: Install authorized keys
ansible.builtin.template:
src: ../templates/authorized_keys.j2
dest: "/home/{{ uid }}/.ssh/authorized_keys"
owner: "{{ uid }}"
group: "{{ uid }}"
dest: /home/{{ uid }}/.ssh/authorized_keys
owner: '{{ uid }}'
group: '{{ uid }}'
mode: '0600'

@ -10,29 +10,29 @@
- name: Install autotiling
ansible.builtin.command:
cmd: pipx install autotiling
creates: "/home/{{ uid }}/.local/bin/autotiling"
creates: /home/{{ uid }}/.local/bin/autotiling
- name: Create sway dir
ansible.builtin.file:
dest: "/home/{{ uid }}/.config/sway"
dest: /home/{{ uid }}/.config/sway
state: directory
- name: Install sway config
ansible.builtin.template:
src: ../templates/sway_config.j2
dest: "/home/{{ uid }}/.config/sway/config"
owner: "{{ uid }}"
group: "{{ uid }}"
dest: /home/{{ uid }}/.config/sway/config
owner: '{{ uid }}'
group: '{{ uid }}'
mode: '0640'
notify: Reload sway
- name: Create waybar dir
ansible.builtin.file:
dest: "/home/{{ uid }}/.config/waybar"
dest: /home/{{ uid }}/.config/waybar
state: directory
- name: Install waybar config
ansible.builtin.template:
src: ../templates/waybar_config.j2
dest: "/home/{{ uid }}/.config/waybar/config"
owner: "{{ uid }}"
group: "{{ uid }}"
dest: /home/{{ uid }}/.config/waybar/config
owner: '{{ uid }}'
group: '{{ uid }}'
mode: '0640'
notify: Reload sway
- name: Create wallpaper dir

@ -8,7 +8,7 @@
tasks:
- name: Have zsh installed allready
stat:
path: "/home/{{ uid }}/.oh-my-zsh"
path: /home/{{ uid }}/.oh-my-zsh
register: ohmyzsh
- name: Set zsh as default shell
become: true
@ -34,8 +34,7 @@
- name: Install zshrc
ansible.builtin.template:
src: ../templates/zshrc.j2
dest: "/home/{{ uid }}/.zshrc"
owner: "{{ uid }}"
group: "{{ uid }}"
dest: /home/{{ uid }}/.zshrc
owner: '{{ uid }}'
group: '{{ uid }}'
mode: '0644'

Loading…
Cancel
Save