configs/roles/packages/tasks/main.yml

232 lines
5.9 KiB
YAML
Raw Normal View History

2024-10-07 16:39:07 +02:00
---
2024-10-12 16:37:15 +02:00
- name: x86_64 | Enable multilib repo
2024-10-10 19:21:52 +02:00
ansible.builtin.blockinfile:
2024-10-12 16:17:53 +02:00
path: /etc/pacman.conf
prepend_newline: true
block: |
[multilib]
Include = /etc/pacman.d/mirrorlist
when: ansible_architecture == "x86_64"
tags: first
2024-10-10 19:27:24 +02:00
become: true
2024-10-10 19:21:52 +02:00
- name: Update packages
community.general.pacman:
2024-10-12 16:17:53 +02:00
update_cache: true
upgrade: true
tags: packages
2024-10-07 16:39:07 +02:00
become: true
2024-10-10 19:21:52 +02:00
- name: Install priority packages
community.general.pacman:
2024-10-12 16:17:53 +02:00
state: present
# select the lines and use 'M-x sort-lines'
name: "{{ item }}"
2024-10-10 19:21:52 +02:00
loop:
2024-10-12 16:17:53 +02:00
- pipewire # audio
- pipewire-alsa # audio
- pipewire-jack # audio
- pipewire-pulse # audio
tags: packages
2024-10-10 19:28:09 +02:00
become: true
2024-10-10 19:21:52 +02:00
- name: Install other packages
community.general.pacman:
2024-10-12 16:17:53 +02:00
state: present
# select the lines and use 'M-x sort-lines'
name: "{{ item }}"
2024-10-10 18:59:24 +02:00
loop:
2024-10-12 16:17:53 +02:00
#- gnome-keyring
#- hdparm
#- libaacs
#- libbluray
#- libcdio
#- libdvdcss
#- libdvdnav
#- libdvdread
#- libsecret
#- phonon-qt5-gstreamer
#- seahorse
- aardvark-dns # containers
- ansible # iac
- base-devel # devel stuff
- bind # dnsutils (nslookup, dig)
- btrfs-progs # btrfs
- buildah # containers
- clang
- cmake
- composer
- dnsmasq # virtualization
- dosfstools # fat
- e2fsprogs # ext4
- easyeffects # audio effects
- emacs-wayland
- exfatprogs # exfat
- f2fs-tools # f2fs
- fd
- ffmpeg # multimedia
- firefox # browser
- firewalld # firewall
- fish # shell
- flatpak
- flatpak # packages
- freetype2 # fonts
- fuse-overlayfs # containers
- fwupd # firmware
- fwupd-efi # firmware
- gdb
- git # code
- git-lfs # code
- hunspell # spelling
- hunspell-de # spelling
- hunspell-en_gb # spelling
- hunspell-en_us # spelling
- hyphen # spelling
- hyphen-de # spelling
- hyphen-en # spelling
- imv # image viewer
- jre-openjdk # java
- just # command runner
- kde-applications-meta # kde
- kid3 # music metadata
- krita
- languagetool
- libreoffice-fresh # office
- libreoffice-fresh-de # office
- lldb
- lldb-mi
- lutris # games
- man-db # docs
- mesa # video driver
- mesa-vdpau # VDPAU
- mosh # remote shell
- mtools # fat
- mythes-de # thesaurus
- mythes-en # thesaurus
- nerd-fonts # fonts
- nextcloud-client # cloud
- nodejs
- noto-fonts # fonts
- noto-fonts-cjk # fonts
- noto-fonts-emoji # fonts
- ntfs-3g # ntfs
- nvme-cli # nvme ssd
- obs-studio # recording
- okular # pdf
- openssh # remote shell
- opentofu # iac
- otf-font-awesome # fonts
- p7zip # compression
- pacman-contrib # scripts
- pandoc
- php # code
- piper # mouse
- pkgstats
- plasma-meta
- podman # containers
- power-profiles-daemon # power management
- prettier # code
- pyright # code
- python-black # code
- python-debugpy # code
- python-isort # code
- python-pip # code
- python-pipenv # code
- python-pyflakes # code
- python-pytest # code
- rebuild-detector # packages
- reflector # mirrors
- restic # backup
- ripgrep # doom emacs
- rsync # file sync
- ruby-sass # code
- shellcheck # code
- shfmt # code
- smartmontools # disks
- stress # benchmark
- stylelint # code
- tesseract-data-deu
- tesseract-data-eng
- texlive-core
- thunderbird # email
- tidy
- traceroute # network
- transmission-remote-gtk # torrent
- ttf-fira-code # fonts
- ttf-fira-sans # fonts
- udftools # udf
- unrar # compression
- unzip # compression
- util-linux # various utils
- vdpauinfo # VDPAU
- vim # editor
- vscode-css-languageserver
- wget # network
- wireguard-tools # vpn
- wireplumber # audio
- xdg-desktop-portal-gtk # flatpak theming
- xdg-user-dirs # standards
- xdg-utils # standards
- xfsprogs # xfs
- yaml-language-server # code
- yt-dlp
# - dockerfile-language-server # code # AUR
# - dockfmt # AUR
# - refind-theme-nord # bootmenu # AUR
# - btrfsmaintenance # AUR
tags: packages
2024-10-07 16:39:07 +02:00
become: true
2024-10-11 17:41:12 +02:00
2024-10-12 16:53:30 +02:00
- name: x86_64 | Install other packages unavailable on ALARM
community.general.pacman:
state: present
# select the lines and use 'M-x sort-lines'
name: "{{ item }}"
loop:
- amd-ucode # microcode
- discord
- edk2-ovmf # virtualization
- intel-media-driver # VAAPI
- intel-ucode # microcode
- libva-intel-driver # VAAPI
- libva-mesa-driver # VAAPI
- libva-utils # VAAPI
- libvirt # virtualization
- linux # kernel
- linux-firmware # kernel
- linux-headers # kernel
- qemu-full # virtualization
- virt-manager # virtualization
- vulkan-intel # video driver
- vulkan-radeon # video driver
when: ansible_architecture == "x86_64"
tags: packages
become: true
2024-10-12 16:37:15 +02:00
- name: x86_64 | Install multilib packages
community.general.pacman:
state: present
# select the lines and use 'M-x sort-lines'
name: "{{ item }}"
loop:
- lib32-mesa # video driver
- lib32-vulkan-intel # video driver
- lib32-vulkan-radeon # video driver
2024-10-12 16:53:30 +02:00
- steam # games
- wine # windows
when: ansible_architecture == "x86_64"
tags: packages
become: true
2024-10-11 19:15:42 +02:00
- name: Doom Emacs | Clone
2024-10-11 17:41:12 +02:00
ansible.builtin.git:
2024-10-12 16:17:53 +02:00
repo: https://github.com/doomemacs/doomemacs
dest: "~/.config/emacs"
depth: 1
2024-10-11 17:41:12 +02:00
tags: doomemacs
2024-10-11 19:15:42 +02:00
- name: Doom Emacs | Install
2024-10-11 17:41:12 +02:00
ansible.builtin.shell:
2024-10-12 16:17:53 +02:00
cmd: "~/.config/emacs/bin/doom install --aot --force"
2024-10-11 17:41:12 +02:00
tags: doomemacs