diff --git a/group_vars/all.yml b/group_vars/all.yml index 843c485..3c829ac 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -19,19 +19,59 @@ packages: - docker-compose - e2fsprogs - fzf + - firefox + - flatpak - git - gnupg - htop + - iotop - linux-firmware - man - man-db - man-pages + - neofetch - networkmanager + - openssh + - openvpn + - pipewire + - pipewire-pulse - rsync - screen - sudo - tree + - unrar-free - unzip + - usbutils - wget - zip - - zsh \ No newline at end of file + - zsh + +aur_packages: + - gohugo-extended-bin + +flatpaks: + - com.github.tchx84.Flatseal + - com.slack.Slack + - com.spotify.Client + - com.valvesoftware.Steam + - io.github.flattool.Warehouse + - md.obsidian.Obsidian + - com.todoist.Todoist + - org.libreoffice.LibreOffice + - org.mozilla.Thunderbird + +base_fonts: + - adobe-source-code-pro-fonts + - adobe-source-sans-pro-fonts + - adobe-source-serif-pro-fonts + - gnu-free-fonts + - noto-fonts + - noto-fonts-cjk + - noto-fonts-emoji + - powerline-fonts + - ttf-anonymous-pro + - ttf-dejavu + - otf-cascadia-code + - ttf-cascadia-code + - ttf-hack + - ttf-hack-nerd \ No newline at end of file diff --git a/roles/04_desktop/tasks/main.yml b/roles/04_desktop/tasks/main.yml new file mode 100644 index 0000000..ec8ca54 --- /dev/null +++ b/roles/04_desktop/tasks/main.yml @@ -0,0 +1,22 @@ +--- +- name: Install desktop environment (GNOME) + block: + - name: Install Gnome + community.general.pacman: + name: + - gnome + - gnome-extra + - gnome-shell + - gnome-control-center + - gdm + - xdg-desktop-portal-gnome + - gnome-shell-extension-dash-to-dock + - gnome-shell-extension-openweather + state: present + become: true + + - name: Start systemd service - gdm.service + ansible.builtin.systemd: + name: gdm.service + enabled: yes + become: true \ No newline at end of file diff --git a/roles/05_packages/tasks/aur.yml b/roles/05_packages/tasks/aur.yml new file mode 100644 index 0000000..087147b --- /dev/null +++ b/roles/05_packages/tasks/aur.yml @@ -0,0 +1,12 @@ +--- +- name: Install AUR helper + kewlfft.aur.aur: + name: "{{ aur_helper }}" + state: present + +- name: Install AUR packages + kewlfft.aur.aur: + name: "{{ aur_packages }}" + state: present + use: {{ aur_helper }} + \ No newline at end of file diff --git a/roles/05_packages/tasks/flatpak.yml b/roles/05_packages/tasks/flatpak.yml new file mode 100644 index 0000000..d4d1afb --- /dev/null +++ b/roles/05_packages/tasks/flatpak.yml @@ -0,0 +1,13 @@ +--- +- name: Add Flathub repository + community.general.flatpak_remote: + name: flathub + state: present + flatpakrepo_url: https://flathub.org/repo/flathub.flatpakrepo + become: true + +- name: Install flatpaks + community.general.flatpak: + name: "{{ flatpaks }}" + state: present + remote: flathub \ No newline at end of file diff --git a/roles/05_packages/tasks/fonts.yml b/roles/05_packages/tasks/fonts.yml new file mode 100644 index 0000000..a232657 --- /dev/null +++ b/roles/05_packages/tasks/fonts.yml @@ -0,0 +1,6 @@ +--- +- name: Install fonts + community.general.pacman: + name: "{{ base_fonts }}" + state: present + become: true \ No newline at end of file diff --git a/roles/05_packages/tasks/main.yml b/roles/05_packages/tasks/main.yml index 4cb4669..25c9d0d 100644 --- a/roles/05_packages/tasks/main.yml +++ b/roles/05_packages/tasks/main.yml @@ -3,4 +3,13 @@ ansible.builtin.pacman: name: "{{ packages }}" state: present - become: true \ No newline at end of file + become: true + +- name: Install font packages + ansible.builtin.import_tasks: fonts.yml + +- name: Install aur packages + ansible.builtin.import_tasks: aur.yml + +- name: Install flatpaks + ansible.builtin.import_tasks: flatpak.yml \ No newline at end of file