2021-04-11 00:25:36 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.magic_rb.packageCollections.cmdline;
|
2022-04-15 09:51:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
ffmpegSpecial = pkgs.ffmpeg-full.override
|
|
|
|
{ svt-av1 = pkgs.svt-av1.overrideAttrs
|
|
|
|
(old: rec
|
|
|
|
{ version = "1.0.0-rc1";
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "AOMediaCodec";
|
|
|
|
repo = "SVT-AV1";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-iN4ryhoMNlgXWiCup9pNucQKBkmZtC9bj3bsq8l9KYk=";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
2021-04-11 00:25:36 +02:00
|
|
|
in
|
2020-12-26 23:36:50 +01:00
|
|
|
{
|
2021-04-11 00:25:36 +02:00
|
|
|
options.magic_rb.packageCollections.cmdline = {
|
|
|
|
enable = mkEnableOption
|
|
|
|
''
|
|
|
|
A package collection containing command line programs, specifically zip, unzip, unrar (unfree), git, and htop.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
zip
|
|
|
|
unzip
|
|
|
|
unrar
|
|
|
|
git
|
|
|
|
htop
|
2022-04-15 09:51:48 +02:00
|
|
|
ffmpegSpecial
|
2021-04-11 00:25:36 +02:00
|
|
|
];
|
|
|
|
};
|
2020-12-26 23:36:50 +01:00
|
|
|
}
|