bunch of stuff
This commit is contained in:
@@ -41,11 +41,6 @@
|
||||
group: "{{ item.value.group }}"
|
||||
loop: "{{ init_users | dict2items }}"
|
||||
|
||||
- name: Setup /etc/motd from template
|
||||
template:
|
||||
src: motd.j2
|
||||
dest: /etc/motd
|
||||
|
||||
- name: Install galaxy collections
|
||||
community.general.ansible_galaxy_install:
|
||||
type: collection
|
||||
|
||||
@@ -18,6 +18,7 @@ create_directories:
|
||||
- music
|
||||
- downloads
|
||||
- pictures
|
||||
- share
|
||||
- code
|
||||
- code/scripts
|
||||
- code/projects
|
||||
@@ -31,9 +32,8 @@ init_users:
|
||||
group: opal
|
||||
groups:
|
||||
- wheel
|
||||
- docker
|
||||
state: present
|
||||
shell: /usr/bin/zsh
|
||||
shell: /bin/bash
|
||||
create_home: true
|
||||
|
||||
ansible_galaxy_collections:
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
dest: "{{ pfetch_dest }}"
|
||||
update: no
|
||||
|
||||
|
||||
- name: Pull doom emacs
|
||||
become: yes
|
||||
become_user: opal
|
||||
@@ -32,10 +31,3 @@
|
||||
dest: "{{ doom_dest }}"
|
||||
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_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_dest: /home/opal/code/repos/yay
|
||||
|
||||
@@ -1,41 +1,42 @@
|
||||
---
|
||||
- name: Update packages (equiv. to pacman -Syu)
|
||||
pacman:
|
||||
update_cache: true
|
||||
upgrade: true
|
||||
- name: Upgrade all packages
|
||||
ansible.builtin.dnf:
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
- name: install window manager packages
|
||||
pacman:
|
||||
dnf:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ wm_packages }}"
|
||||
|
||||
- name: install cli packages
|
||||
pacman:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ cli_packages }}"
|
||||
|
||||
- name: install general packages
|
||||
pacman:
|
||||
dnf:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ general_packages }}"
|
||||
|
||||
- name: install doom dependencies
|
||||
pacman:
|
||||
dnf:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ doom_dep_packages }}"
|
||||
|
||||
- name: install networking packages
|
||||
pacman:
|
||||
dnf:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ networking_packages }}"
|
||||
|
||||
- name: install font packages
|
||||
pacman:
|
||||
dnf:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
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
|
||||
- light
|
||||
|
||||
cli_packages:
|
||||
- zsh
|
||||
- man
|
||||
general_packages:
|
||||
- git
|
||||
- keychain
|
||||
- python-pip
|
||||
- ripgrep
|
||||
- stow
|
||||
- python3-pip
|
||||
- bat
|
||||
- curl
|
||||
- make
|
||||
- libtool
|
||||
- tldr
|
||||
- gnupg
|
||||
- gnupg2
|
||||
- neovim
|
||||
- trash-cli
|
||||
- lshw
|
||||
- git
|
||||
- htop
|
||||
- duf
|
||||
- discount
|
||||
- cmake
|
||||
- beets
|
||||
- lf
|
||||
- rsync
|
||||
- p7zip
|
||||
- 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
|
||||
- firefox
|
||||
- gnome-tweaks
|
||||
- gimp
|
||||
- emacs
|
||||
- mpv
|
||||
- alacritty
|
||||
- nfs-utils
|
||||
- strawberry
|
||||
- ansible
|
||||
- nicotine+
|
||||
- easyeffects
|
||||
- lsp-plugins
|
||||
- newsboat
|
||||
- signal-desktop
|
||||
- udiskie
|
||||
- transmission-qt
|
||||
- pavucontrol
|
||||
- pipewire-pulseaudio
|
||||
- remove-retired-packages
|
||||
- newsboat
|
||||
- p7zip
|
||||
- steam
|
||||
|
||||
networking_packages:
|
||||
- nmap
|
||||
@@ -73,20 +58,28 @@ networking_packages:
|
||||
- nm-connection-editor
|
||||
- wireguard-tools
|
||||
- bind
|
||||
- inetutils
|
||||
- telnet
|
||||
|
||||
doom_dep_packages:
|
||||
- python-pyflakes
|
||||
- python-isort
|
||||
- python-pipenv
|
||||
- python-nose2
|
||||
- python-nose
|
||||
- python-pytest
|
||||
- python-lsp-black
|
||||
- ripgrep
|
||||
- libtool # Needed to compile vterm in Doom Emacs
|
||||
- cmake # Needed to compile vterm in Doom Emacs
|
||||
- discount # Markdown Compiler
|
||||
- ShellCheck # Shell linter for Doom Emacs
|
||||
- python3-pyflakes
|
||||
- python3-isort
|
||||
- pipenv
|
||||
- python3-nose2
|
||||
- python3-nose
|
||||
- python3-pytest
|
||||
- python3-lsp-black
|
||||
|
||||
font_packages:
|
||||
- awesome-terminal-fonts
|
||||
- cantarell-fonts
|
||||
- noto-fonts-cjk
|
||||
- ttf-iosevka-nerd
|
||||
- ttf-hack-nerd
|
||||
- fontawesome5-fonts
|
||||
- abattis-cantarell-fonts
|
||||
- google-noto-cjk-fonts
|
||||
- google-noto-sans-ugaritic-fonts
|
||||
|
||||
flatpak_packages:
|
||||
- org.signal.Signal
|
||||
- net.lutris.Lutris
|
||||
|
||||
Reference in New Issue
Block a user