added networkmanager and upgraded kernel

This commit is contained in:
2024-11-01 20:18:27 +01:00
parent cfc5a69d1c
commit c67b4727fc

View File

@@ -29,6 +29,17 @@
- neovim
- shellcheck
- git-annex
- flatpak
- network-manager
- name: Enable networkmanager
service:
name: NetworkManager
enabled: yes
state: started
- name: upgrade kernel
apt:
name: linux-image-amd64
default_release: stable-backports
- name: remove gnome xdg portal
apt:
name:
@@ -77,26 +88,6 @@
line: "HibernateDelaySec=2h"
path: "/etc/systemd/sleep.conf"
regexp: '.*HibernateDelaySec.*'
- name: istall more packages
apt:
name:
- firefox-esr
- keepassxc
- flatpak
- vlc
- nautilus
- nautilus-share
- gnome-keyring
- seahorse
- eog
- evince
- pipewire-audio
- pipewire-pulse
- thunderbird
- yt-dlp
- pavucontrol
- borgbackup
state: present
- name: enable wireplumber
systemd_service:
name: wireplumber.service
@@ -114,49 +105,6 @@
flatpak_remote:
name: flathub
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
- name: install flatpaks
flatpak:
name:
- im.riot.Riot
- org.signal.Signal
- com.synology.SynologyDrive
- com.github.tchx84.Flatseal
- name: install plymouth
apt:
name: plymouth
- name: get fox theme
git:
dest: /usr/share/plymouth/themes/foxy
repo: https://git.v-tr.org/violet/plymouth-foxy.git
notify: update initramfs
- name: Set plymouth theme
shell:
cmd: "plymouth-set-default-theme foxy && touch /etc/.plymouth"
creates: /etc/.plymouth
notify: update initramfs
- name: copy grub background
copy:
dest: /boot/grub/background.png
src: /usr/share/plymouth/themes/foxy/plymouth_background_foxy.png
- name: configure grub
lineinfile:
path: /etc/default/grub
line: "{{ item.line }}"
regexp: "{{ item.regexp }}"
with_items:
- line: GRUB_TIMEOUT=0
regexp: '^GRUB_TIMEOUT=.*'
- line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
regexp: '^GRUB_CMDLINE_LINUX_DEFAULT=.*'
- line: GRUB_GFXMODE=1366x768
regexp: '#?GRUB_GFXMODE=.*'
- line: GRUB_BACKGROUND=/boot/grub/background.png
regexp: '^GRUB_BACKGROUND.*'
notify: update grub
- name: set grub colors
copy:
dest: /boot/grub/custom.cfg
content: set color_normal=dark-gray/black
handlers:
- name: update initramfs