1 { config, pkgs, lib, ... }:
5 options.programs.k3b = {
6 enable = lib.mkOption {
10 Whether to enable k3b, the KDE disk burning application.
12 Additionally to installing `k3b` enabling this will
13 add `setuid` wrappers in `/run/wrappers/bin`
14 for both `cdrdao` and `cdrecord`. On first
15 run you must manually configure the path of `cdrdae` and
16 `cdrecord` to correspond to the appropriate paths under
17 `/run/wrappers/bin` in the "Setup External Programs" menu.
23 config = lib.mkIf config.programs.k3b.enable {
25 environment.systemPackages = with pkgs; [
37 permissions = "u+wrx,g+x";
38 source = "${pkgs.cdrdao}/bin/cdrdao";
44 permissions = "u+wrx,g+x";
45 source = "${pkgs.cdrtools}/bin/cdrecord";