bunch of stuff
This commit is contained in:
@@ -41,11 +41,6 @@
|
|||||||
group: "{{ item.value.group }}"
|
group: "{{ item.value.group }}"
|
||||||
loop: "{{ init_users | dict2items }}"
|
loop: "{{ init_users | dict2items }}"
|
||||||
|
|
||||||
- name: Setup /etc/motd from template
|
|
||||||
template:
|
|
||||||
src: motd.j2
|
|
||||||
dest: /etc/motd
|
|
||||||
|
|
||||||
- name: Install galaxy collections
|
- name: Install galaxy collections
|
||||||
community.general.ansible_galaxy_install:
|
community.general.ansible_galaxy_install:
|
||||||
type: collection
|
type: collection
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ create_directories:
|
|||||||
- music
|
- music
|
||||||
- downloads
|
- downloads
|
||||||
- pictures
|
- pictures
|
||||||
|
- share
|
||||||
- code
|
- code
|
||||||
- code/scripts
|
- code/scripts
|
||||||
- code/projects
|
- code/projects
|
||||||
@@ -31,9 +32,8 @@ init_users:
|
|||||||
group: opal
|
group: opal
|
||||||
groups:
|
groups:
|
||||||
- wheel
|
- wheel
|
||||||
- docker
|
|
||||||
state: present
|
state: present
|
||||||
shell: /usr/bin/zsh
|
shell: /bin/bash
|
||||||
create_home: true
|
create_home: true
|
||||||
|
|
||||||
ansible_galaxy_collections:
|
ansible_galaxy_collections:
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
dest: "{{ pfetch_dest }}"
|
dest: "{{ pfetch_dest }}"
|
||||||
update: no
|
update: no
|
||||||
|
|
||||||
|
|
||||||
- name: Pull doom emacs
|
- name: Pull doom emacs
|
||||||
become: yes
|
become: yes
|
||||||
become_user: opal
|
become_user: opal
|
||||||
@@ -32,10 +31,3 @@
|
|||||||
dest: "{{ doom_dest }}"
|
dest: "{{ doom_dest }}"
|
||||||
update: no
|
update: no
|
||||||
|
|
||||||
- name: Pull yay repo
|
|
||||||
become: yes
|
|
||||||
become_user: opal
|
|
||||||
git:
|
|
||||||
repo: "{{ yay_repo }}"
|
|
||||||
dest: "{{ yay_dest }}"
|
|
||||||
update: no
|
|
||||||
|
|||||||
Binary file not shown.
@@ -17,5 +17,14 @@ docker_compose_dest: /home/opal/code/docker/compose
|
|||||||
doom_repo: https://github.com/doomemacs/doomemacs
|
doom_repo: https://github.com/doomemacs/doomemacs
|
||||||
doom_dest: /home/opal/.config/emacs
|
doom_dest: /home/opal/.config/emacs
|
||||||
|
|
||||||
|
init_users:
|
||||||
|
opal:
|
||||||
|
name: opal
|
||||||
|
group: opal
|
||||||
|
groups: wheel
|
||||||
|
state: present
|
||||||
|
shell: /usr/bin/zsh
|
||||||
|
create_home: true
|
||||||
|
|
||||||
yay_repo: https://aur.archlinux.org/yay.git
|
yay_repo: https://aur.archlinux.org/yay.git
|
||||||
yay_dest: /home/opal/code/repos/yay
|
yay_dest: /home/opal/code/repos/yay
|
||||||
|
|||||||
@@ -1,41 +1,42 @@
|
|||||||
---
|
---
|
||||||
- name: Update packages (equiv. to pacman -Syu)
|
- name: Upgrade all packages
|
||||||
pacman:
|
ansible.builtin.dnf:
|
||||||
update_cache: true
|
name: "*"
|
||||||
upgrade: true
|
state: latest
|
||||||
|
|
||||||
- name: install window manager packages
|
- name: install window manager packages
|
||||||
pacman:
|
dnf:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
loop: "{{ wm_packages }}"
|
loop: "{{ wm_packages }}"
|
||||||
|
|
||||||
- name: install cli packages
|
- name: install cli packages
|
||||||
pacman:
|
dnf:
|
||||||
name: "{{ item }}"
|
|
||||||
state: present
|
|
||||||
loop: "{{ cli_packages }}"
|
|
||||||
|
|
||||||
- name: install general packages
|
|
||||||
pacman:
|
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
loop: "{{ general_packages }}"
|
loop: "{{ general_packages }}"
|
||||||
|
|
||||||
- name: install doom dependencies
|
- name: install doom dependencies
|
||||||
pacman:
|
dnf:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
loop: "{{ doom_dep_packages }}"
|
loop: "{{ doom_dep_packages }}"
|
||||||
|
|
||||||
- name: install networking packages
|
- name: install networking packages
|
||||||
pacman:
|
dnf:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
loop: "{{ networking_packages }}"
|
loop: "{{ networking_packages }}"
|
||||||
|
|
||||||
- name: install font packages
|
- name: install font packages
|
||||||
pacman:
|
dnf:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
loop: "{{ font_packages }}"
|
loop: "{{ font_packages }}"
|
||||||
|
|
||||||
|
- name: Add the flathub flatpak repository remote
|
||||||
|
community.general.flatpak_remote:
|
||||||
|
name: flathub
|
||||||
|
state: present
|
||||||
|
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
|
method: user
|
||||||
|
|||||||
@@ -10,61 +10,46 @@ wm_packages:
|
|||||||
- grim
|
- grim
|
||||||
- light
|
- light
|
||||||
|
|
||||||
cli_packages:
|
general_packages:
|
||||||
- zsh
|
- git
|
||||||
- man
|
|
||||||
- keychain
|
- keychain
|
||||||
- python-pip
|
|
||||||
- ripgrep
|
|
||||||
- stow
|
- stow
|
||||||
|
- python3-pip
|
||||||
|
- bat
|
||||||
- curl
|
- curl
|
||||||
- make
|
- make
|
||||||
- libtool
|
|
||||||
- tldr
|
- tldr
|
||||||
- gnupg
|
- gnupg2
|
||||||
|
- neovim
|
||||||
- trash-cli
|
- trash-cli
|
||||||
- lshw
|
- lshw
|
||||||
- git
|
|
||||||
- htop
|
- htop
|
||||||
- duf
|
|
||||||
- discount
|
|
||||||
- cmake
|
|
||||||
- beets
|
- beets
|
||||||
- lf
|
|
||||||
- rsync
|
- rsync
|
||||||
- p7zip
|
- p7zip
|
||||||
- neovim
|
- neovim
|
||||||
|
|
||||||
general_packages:
|
|
||||||
- firefox
|
|
||||||
- emacs-nativecomp
|
|
||||||
- ansible
|
|
||||||
- udiskie
|
|
||||||
- transmission-qt
|
|
||||||
- pavucontrol
|
|
||||||
- sof-firmware
|
|
||||||
- gst-plugin-pipewire
|
|
||||||
- pipewire
|
|
||||||
- pipewire-alsa
|
|
||||||
- pipewire-audio
|
|
||||||
- pipewire-jack
|
|
||||||
- pipewire-pulse
|
|
||||||
- wireplumber
|
|
||||||
- nicotine+
|
|
||||||
- mpd
|
|
||||||
- ncmpcpp
|
|
||||||
- ffmpeg
|
|
||||||
- veracrypt
|
|
||||||
- bluez
|
|
||||||
- bluez-utils
|
|
||||||
- docker
|
|
||||||
- xorg-xwayland
|
|
||||||
- hugo
|
- hugo
|
||||||
|
- firefox
|
||||||
|
- gnome-tweaks
|
||||||
|
- gimp
|
||||||
|
- emacs
|
||||||
|
- mpv
|
||||||
- alacritty
|
- alacritty
|
||||||
|
- nfs-utils
|
||||||
|
- strawberry
|
||||||
|
- ansible
|
||||||
|
- nicotine+
|
||||||
- easyeffects
|
- easyeffects
|
||||||
- lsp-plugins
|
- lsp-plugins
|
||||||
- newsboat
|
- newsboat
|
||||||
- signal-desktop
|
- udiskie
|
||||||
|
- transmission-qt
|
||||||
|
- pavucontrol
|
||||||
|
- pipewire-pulseaudio
|
||||||
|
- remove-retired-packages
|
||||||
|
- newsboat
|
||||||
|
- p7zip
|
||||||
|
- steam
|
||||||
|
|
||||||
networking_packages:
|
networking_packages:
|
||||||
- nmap
|
- nmap
|
||||||
@@ -73,20 +58,28 @@ networking_packages:
|
|||||||
- nm-connection-editor
|
- nm-connection-editor
|
||||||
- wireguard-tools
|
- wireguard-tools
|
||||||
- bind
|
- bind
|
||||||
- inetutils
|
- telnet
|
||||||
|
|
||||||
doom_dep_packages:
|
doom_dep_packages:
|
||||||
- python-pyflakes
|
- ripgrep
|
||||||
- python-isort
|
- libtool # Needed to compile vterm in Doom Emacs
|
||||||
- python-pipenv
|
- cmake # Needed to compile vterm in Doom Emacs
|
||||||
- python-nose2
|
- discount # Markdown Compiler
|
||||||
- python-nose
|
- ShellCheck # Shell linter for Doom Emacs
|
||||||
- python-pytest
|
- python3-pyflakes
|
||||||
- python-lsp-black
|
- python3-isort
|
||||||
|
- pipenv
|
||||||
|
- python3-nose2
|
||||||
|
- python3-nose
|
||||||
|
- python3-pytest
|
||||||
|
- python3-lsp-black
|
||||||
|
|
||||||
font_packages:
|
font_packages:
|
||||||
- awesome-terminal-fonts
|
- fontawesome5-fonts
|
||||||
- cantarell-fonts
|
- abattis-cantarell-fonts
|
||||||
- noto-fonts-cjk
|
- google-noto-cjk-fonts
|
||||||
- ttf-iosevka-nerd
|
- google-noto-sans-ugaritic-fonts
|
||||||
- ttf-hack-nerd
|
|
||||||
|
flatpak_packages:
|
||||||
|
- org.signal.Signal
|
||||||
|
- net.lutris.Lutris
|
||||||
|
|||||||
Reference in New Issue
Block a user