From cf6c8cc977c456d54bc1e54f04e804eee2338e28 Mon Sep 17 00:00:00 2001
From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de>
Date: Fri, 22 Nov 2024 17:54:56 +0100
Subject: [PATCH] desktop: Updates for Debian Bookworm and some new software

---
 desktop/tasks/configuration.yml |  2 +-
 desktop/tasks/software.yml      | 22 ++++++++++++++--------
 2 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/desktop/tasks/configuration.yml b/desktop/tasks/configuration.yml
index d8968c2..1537c83 100644
--- a/desktop/tasks/configuration.yml
+++ b/desktop/tasks/configuration.yml
@@ -12,7 +12,7 @@
 - name: ensure a sane default web browser
   alternatives:
     name: x-www-browser
-    path: /usr/bin/firefox
+    path: /usr/bin/firefox-esr
 
 - name: ensure we have the correct printer
   template:
diff --git a/desktop/tasks/software.yml b/desktop/tasks/software.yml
index 74c5cf0..8299064 100644
--- a/desktop/tasks/software.yml
+++ b/desktop/tasks/software.yml
@@ -1,14 +1,12 @@
 ---
 # file: roles/client/tasks/desktop.yml
 
-- name: Install Intel and Realtek firmware for Dell clients
+- name: Install firmware
   apt:
     name:
-      - firmware-misc-nonfree
-      - firmware-realtek
-      - firmware-iwlwifi
+      - firmware-linux
     state: present
-  when: ansible_system_vendor == "Dell Inc."
+  when: ansible_virtualization_role != "guest"
 
 - name: ensure office applications are installed
   apt:
@@ -16,7 +14,6 @@
       - libreoffice  # this is a meta-package
       - libreoffice-help-de
       - libreoffice-l10n-de
-      - libreoffice-kde5
       - texstudio
     state: present
 
@@ -38,8 +35,7 @@
     name:
       - evince
       - pdfgrep
-      - pdfmod
-      - pdftk
+      - pdftk-java
       - xournal
       - poppler-utils
     state: present
@@ -106,6 +102,15 @@
       - gdb
     state: present
 
+- name: Install Rust development tools
+  apt:
+    name:
+      - rust-all
+      - rust-gdb
+      - rust-lldb
+      - rust-doc
+      - rust-src
+
 - name: Remove legacy Mozilla packages
   apt:
     name: xul-ext-quotecolors
@@ -164,6 +169,7 @@
       - vlc
       - mplayer
       - smplayer
+      - mpv
       - ffmpeg
 
 - name: ensure password managers are installed
-- 
GitLab