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
cfg = config.packages.media-packages;
in {
options.packages.media-packages = {
enable = mkEnableOption "media packages";
enable = lib.mkEnableOption "media packages";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
yt-dlp
ffmpeg
imagemagick
@ -18,6 +18,6 @@ in {
blender
libreoffice
godot
]
];
};
}