Skip to content

Commit

Permalink
nixos/suites/video: replace k3b module with kdePackages.k3b
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Dec 31, 2024
1 parent e59cf52 commit 93cb864
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions modules/nixos/suites/video/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
config,
lib,
namespace,
pkgs,
...
}:
let
Expand All @@ -15,19 +16,9 @@ in
};

config = lib.mkIf cfg.enable {
# NOTE: dvd burning software requires cdrom group and k3b dependencies in nix store do not have those permissions
# https://github.com/NixOS/nixpkgs/issues/19154#issuecomment-647005545
# Additionally to installing `k3b` enabling this will
# add `setuid` wrappers in `/run/wrappers/bin`
# for both `cdrdao` and `cdrecord`. On first
# run you must manually configure the path of `cdrdae` and
# `cdrecord` to correspond to the appropriate paths under
# `/run/wrappers/bin` in the "Setup External Programs" menu.
# FIXME: broken nixpkgs
# programs.k3b.enable = true;

khanelinix = {
user.extraGroups = [ "cdrom" ];
};
environment.systemPackages = with pkgs; [
# FIXME: broken nixpkgs
# kdePackages.k3b
];
};
}

0 comments on commit 93cb864

Please sign in to comment.