Skip to content

Commit

Permalink
Update archlinux config
Browse files Browse the repository at this point in the history
  • Loading branch information
A committed Aug 8, 2023
1 parent 0cc102f commit b6fc2bd
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 27 deletions.
34 changes: 22 additions & 12 deletions host_vars/archlinux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
pacman_packages:
- name: acpi
state: latest
- name: base-devel
state: latest
- name: openssh
Expand Down Expand Up @@ -38,6 +40,14 @@ pacman_packages:
state: latest
- name: nmap
state: latest
- name: yaml-language-server
state: latest
- name: python-dotenv
state: latest
- name: haskell-language-server
state: latest
- name: direnv
state: latest

pacman_gui_packages:
- name: telegram-desktop
Expand Down Expand Up @@ -66,6 +76,8 @@ pacman_gui_packages:
state: latest
- name: xmobar
state: latest
- name: kitty
state: latest

aur_packages:
- name: git-extras
Expand All @@ -80,28 +92,26 @@ aur_packages:
state: latest
- name: kubectl
state: latest

aur_gui_packages:
- name: picom-tryone-git
state: latest
- name: todoist-appimage
- name: zsh-autosuggestions
state: latest
- name: obsidian-appimage
- name: zsh-completions
state: latest
- name: microsoft-edge-dev-bin
- name: markdownlint
state: latest

aur_gui_packages:
- name: slack-desktop
state: latest
- name: nerd-fonts-iosevka
- name: ttf-iosevka-nerd
state: latest
- name: zoom
state: latest
- name: haskell-ide-engine
state: latest
state: absent
- name: xbanish
state: latest
- name: tableplus
state: latest
state: absent
# - name: tableplus
# state: latest

cargo_packages:
- name: exa
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Per host configuration is in `host_var` dir.
### Usage

```
ansible-playbook dotfiles.yml --limit=macos --tag=homebrew
ansible-playbook dotfiles.yml --limit=linux --skip-tags gui
ansible-playbook dotfiles.yml --limit=macos --tag=homebrew --ask-become-pass
ansible-playbook dotfiles.yml --limit=archlinux --skip-tags gui --ask-become-pass
```

*Example configuration*:
Expand Down
2 changes: 1 addition & 1 deletion roles/dotfiles/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
dotfiles_source_dir: "{{ playbook_dir }}/files/configs/"
dotfiles_default_dest: "{{ lookup('env', 'HOME') }}/.configs"
dotfiles_default_dest: "{{ lookup('env', 'HOME') }}/.config"
dotfiles_dest: "{{ lookup('env', 'XDG_CONFIG_HOME') | default('configs_default_dest', True) }}"
configs_default_home: "{{ lookup('env', 'HOME') }}/.config"
configs_home: "{{ lookup('env', 'XDG_CONFIG_HOME') | default(configs_default_home, True) }}"
Expand Down
8 changes: 0 additions & 8 deletions roles/nvim/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ nvim_pacman_packages:
state: present
- name: python3
state: present
- name: python2
state: present
- name: python2-pip
state: present
- name: nodejs
state: present
- name: yarn
Expand All @@ -17,10 +13,6 @@ nvim_pip3_packages:
- name: neovim
state: latest

nvim_pip2_packages:
- name: pynvim
state: latest

nvim_yarn_packages:
- name: neovim
state: latest
Expand Down
4 changes: 0 additions & 4 deletions roles/python/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,3 @@
python_pacman_packages:
- name: python3
state: latest
- name: python2
state: present
- name: python2-pip
state: present

0 comments on commit b6fc2bd

Please sign in to comment.