fix extracting media packages
This commit is contained in:
parent
9e807d6226
commit
746491e050
|
@ -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
|
||||||
]
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue