K3b
From Wikipedia:
K3b (from KDE Burn Baby Burn) is a CD, DVD and Blu-ray authoring application by KDE for Unix-like computer operating systems. It provides a graphical user interface to perform most CD/DVD burning tasks like creating an Audio CD from a set of audio files or copying a CD/DVD, as well as more advanced tasks such as burning eMoviX CD/DVDs. It can also perform direct disc-to-disc copies.
Installation
Add following to your configuration:
programs.k3b.enable = true;
This will effectively install the software, but there are further configuration changes required before any disc burning can take place.
cdrom group
To allow K3b and the disc writing tools appropriate permissions to the optical drive, the user(s) need to be in the cdrom group, as well as the optical drive itself.
Adding a user to the cdrom group
In your configuration, add cdrom to the extraGroups of the user:
users.users.YourUserHere.extraGroups = [ ... "cdrom" ]
Adding the optical drive(s) to the cdrom group
For the group to have any meaning, the group (and subsequently the users within it will be given the permissions to access the drive.
Add the following to your configuration:
services.udev.extraRules = ''
# Optical Drive access for K3b
KERNEL=="sr[0-9]*", GROUP="cdrom", MODE="0660"
'';
▶ Tip: This is a multi-line string, which allows for more udev rules down the line.
KERNEL=="sr[0-9]*" matches the device files sr0 up to sr9 if you have more than one optical drive to work with.
GROUP="cdrom" assigns the device to the group, allowing unprivileged access.
MODE="0660" sets read/write permissions to the device for the owner and cdrom group
For the udev rules to apply, your computer needs to be reboot.
Post-Installation
After the reboot, open K3b for post installation configuration within the software.
