Compare commits

...

2 Commits

Author SHA1 Message Date
exu
a62833a4d9 Reformat playbook 2024-10-13 15:40:58 +02:00
exu
49a93ce9dd Fix yaml indentation config 2024-10-13 15:40:51 +02:00
2 changed files with 187 additions and 187 deletions

View File

@ -134,5 +134,6 @@
:desc "Sort lines"
"s" 'sort-lines))
(after! yaml-mode
(setq yaml-indent 2))
;; set yaml indentation
(setq-hook! 'yaml-mode-hook yaml-indent 2)
(setq-hook! 'yaml-mode-hook yaml-indent-offset 2)

View File

@ -1,230 +1,229 @@
---
- name: x86_64 | Enable multilib repo
ansible.builtin.blockinfile:
path: /etc/pacman.conf
prepend_newline: true
block: |
[multilib]
Include = /etc/pacman.d/mirrorlist
path: /etc/pacman.conf
prepend_newline: true
block: |
[multilib]
Include = /etc/pacman.d/mirrorlist
when: ansible_architecture == "x86_64"
tags: first
become: true
- name: Update packages
community.general.pacman:
update_cache: true
upgrade: true
update_cache: true
upgrade: true
tags: packages
become: true
- name: Install priority packages
community.general.pacman:
state: present
# select the lines and use 'M-x sort-lines'
name: "{{ item }}"
state: present
# select the lines and use 'M-x sort-lines'
name: "{{ item }}"
loop:
- pipewire # audio
- pipewire-alsa # audio
- pipewire-jack # audio
- pipewire-pulse # audio
- pipewire # audio
- pipewire-alsa # audio
- pipewire-jack # audio
- pipewire-pulse # audio
tags: packages
become: true
- name: Install other packages
community.general.pacman:
state: present
# select the lines and use 'M-x sort-lines'
name: "{{ item }}"
state: present
# select the lines and use 'M-x sort-lines'
name: "{{ item }}"
loop:
#- 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 # 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
- okular # pdf
- openssh # remote shell
- opentofu # iac
- otf-font-awesome # fonts
- p7zip # compression
- pacman-contrib # scripts
- php # code
- 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
- restic # backup
- ripgrep # doom emacs
- rsync # file sync
- ruby-sass # 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
#- gnome-keyring
#- hdparm
#- libaacs
#- libbluray
#- libcdio
#- libdvdcss
#- libdvdnav
#- libdvdread
#- libsecret
#- 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 # 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
- okular # pdf
- openssh # remote shell
- opentofu # iac
- otf-font-awesome # fonts
- p7zip # compression
- pacman-contrib # scripts
- php # code
- 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
- restic # backup
- ripgrep # doom emacs
- rsync # file sync
- ruby-sass # 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
become: true
- name: x86_64 | Install other packages unavailable/unnecessary on ALARM
community.general.pacman:
state: present
# select the lines and use 'M-x sort-lines'
name: "{{ item }}"
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
- obs-studio # recording
- pandoc
- piper # mouse
- qemu-full # virtualization
- reflector # mirrors
- shellcheck # code
- virt-manager # virtualization
- vulkan-intel # video driver
- vulkan-radeon # video driver
- 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
- obs-studio # recording
- pandoc
- piper # mouse
- qemu-full # virtualization
- reflector # mirrors
- shellcheck # code
- virt-manager # virtualization
- vulkan-intel # video driver
- vulkan-radeon # video driver
when: ansible_architecture == "x86_64"
tags: packages
become: true
- name: x86_64 | Install multilib packages
community.general.pacman:
state: present
# select the lines and use 'M-x sort-lines'
name: "{{ item }}"
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
- steam # games
- wine # windows
- lib32-mesa # video driver
- lib32-vulkan-intel # video driver
- lib32-vulkan-radeon # video driver
- steam # games
- wine # windows
when: ansible_architecture == "x86_64"
tags: packages
become: true
- name: Doom Emacs | Clone
ansible.builtin.git:
repo: https://github.com/doomemacs/doomemacs
dest: "~/.config/emacs"
depth: 1
repo: https://github.com/doomemacs/doomemacs
dest: "~/.config/emacs"
depth: 1
tags: doomemacs
- name: Doom Emacs | Install
ansible.builtin.shell:
cmd: "~/.config/emacs/bin/doom install --aot --force"
cmd: "~/.config/emacs/bin/doom install --aot --force"
tags: doomemacs