nixos-config/system/media-packages.nix

24 lines
419 B
Nix
Raw Normal View History

2022-10-22 23:54:14 -03:00
{ config, pkgs, lib, ... }:
2022-10-22 00:03:18 -03:00
let
cfg = config.packages.media-packages;
in {
options.packages.media-packages = {
2022-10-22 23:54:14 -03:00
enable = lib.mkEnableOption "media packages";
2022-10-22 00:03:18 -03:00
};
2022-10-22 23:54:14 -03:00
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
2022-10-22 00:03:18 -03:00
yt-dlp
ffmpeg
imagemagick
mpc-cli
helvum
gimp
inkscape
kdenlive
blender
libreoffice
godot
2022-10-22 23:54:14 -03:00
];
2022-10-22 00:03:18 -03:00
};
}