further up modularization
This commit is contained in:
22
modules/shell/multimedia.nix
Normal file
22
modules/shell/multimedia.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
options.my.shell.multimedia.enable = lib.mkEnableOption "enable";
|
||||
config = lib.mkIf config.my.shell.multimedia.enable {
|
||||
users.users.jawz.packages = with 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??
|
||||
(buildPythonApplication rec {
|
||||
pname = "ffpb";
|
||||
version = "0.4.1";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-7eVqbLpMHS1sBw2vYS4cTtyVdnnknGtEI8190VlXflk=";
|
||||
};
|
||||
doCheck = false;
|
||||
buildInputs = [ setuptools ];
|
||||
propagatedBuildInputs = [ tqdm ];
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
16
modules/shell/tools.nix
Normal file
16
modules/shell/tools.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
options.my.shell.tools.enable = lib.mkEnableOption "enable";
|
||||
config = lib.mkIf config.my.shell.tools.enable {
|
||||
users.users.jawz.packages = with pkgs; [
|
||||
ripgrep # modern grep
|
||||
du-dust # rusty du similar to gdu
|
||||
eza # like ls but with colors
|
||||
fd # modern find, faster searches
|
||||
fzf # fuzzy finder! super cool and useful
|
||||
gdu # disk-space utility checker, somewhat useful
|
||||
rmlint # amazing dupe finder that integrates well with BTRFS
|
||||
tldr # man for retards
|
||||
trash-cli # oop! did not meant to delete that
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user