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

@@ -26,9 +26,6 @@
pyflakes # checks source code for errors
pylint # bug and style checker for python
speedtest-cli # check internet speed from the comand line
# nose # testing and running python scripts
# poetry # dependency management made easy
# pytest # framework for writing tests
;
};
in

View File

@@ -16,7 +16,6 @@
in
{
home-manager.users.jawz = {
xdg.configFile."gallery-dl/config.json".source = ../../dotfiles/gallery-dl/config.json;
services.lorri.enable = true;
programs.bash = {
shellAliases = {
@@ -31,6 +30,7 @@
export LC=$list_root/comic.txt
'';
};
};
systemd.user = {
services =

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??