gallery-dl dotfile built with nix

This commit is contained in:
2024-11-29 22:26:59 -06:00
parent cda2a0c957
commit 85ec0c0ff4
5 changed files with 309 additions and 281 deletions

View File

@@ -7,11 +7,14 @@
{
options.my.shell.multimedia.enable = lib.mkEnableOption "enable";
config = lib.mkIf config.my.shell.multimedia.enable {
home-manager.users.jawz.programs.gallery-dl = {
enable = true;
settings = import ../../dotfiles/gallery-dl.nix;
};
users.users.jawz.packages =
let
packages = builtins.attrValues {
inherit (pkgs)
gallery-dl # similar to yt-dlp but for most image gallery websites
yt-dlp # downloads videos from most video websites
ffmpeg # not ffmpreg, the coolest video conversion tool!
imagemagick # photoshop what??