WithSecure antivirus on NixOs

Hello everyone,

I am on NixOS 25.05 and I am required to install the WithSecure antivirus on my work laptop. The issue is that I only have a .deb.

I tried using steam-run but this isn’t enough since the file I have is only an installer for the whole antivirus, if I understand correctly. Here is the steam-run output:

$ sudo steam-run dpkg --install linuxsecurity-installer.deb 
(Lecture de la base de données... 21 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de linuxsecurity-installer.deb ...
Dépaquetage de linuxsecurity-installer (12.0.71-1) sur (12.0.71-1) ...
dpkg: erreur de traitement de l'archive linuxsecurity-installer.deb (--install) :
 erreur pendant la création du répertoire « ./usr/share/doc/linuxsecurity-installer »: Read-only file system
dpkg: erreur lors du nettoyage:
 impossible de supprimer la version nouvellement extraite de « /usr/share/doc/linuxsecurity-installer »: Read-only file system
Des erreurs ont été rencontrées pendant l'exécution :
 linuxsecurity-installer.deb

I can install it in a VM but I guess the antivirus won’t be very usefull in here, and I would assume the same for a docker.

Do you have ideas or suggestions so that I can install this thing and continue working on NixOS (otherwise I will probably have to go to another distro)?

Thanks!

Given that this tool doesn’t know what NixOS is (not just from an installation perspective, but also probably in terms of scanning), I would suggest using another distro (Debian/Ubuntu).

PS 25.05 is deprecated; NixOS users should be using 25.11 - but that won’t help your use case.

Ok I see. Thanks for your answer.

Ps: Oh thank you for the reminder, I was not aware of it