fix extracting media packages

This commit is contained in:
Leonardo Eugênio 2022-10-22 23:54:14 -03:00
parent 9e807d6226
commit 746491e050

View file

@ -1,12 +1,12 @@
{ config, pkgs, ... }: { config, pkgs, lib, ... }:
let let
cfg = config.packages.media-packages; cfg = config.packages.media-packages;
in { in {
options.packages.media-packages = { options.packages.media-packages = {
enable = mkEnableOption "media packages"; enable = lib.mkEnableOption "media packages";
}; };
config = mkIf cfg.enable { config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ environment.systemPackages = with pkgs; [
yt-dlp yt-dlp
ffmpeg ffmpeg
imagemagick imagemagick
@ -18,6 +18,6 @@ in {
blender blender
libreoffice libreoffice
godot godot
] ];
}; };
} }