nixos-config/modules/shell/archiving.nix
2020-12-29 22:32:59 +08:00

22 lines
514 B
Nix

{ config, options, lib, pkgs, ... }:
with lib;
let cfg = config.modules.shell.archiving;
in {
options.modules.shell.archiving = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf cfg.enable {
my.packages = with pkgs; [
aria2 # The sequel to aria(1).
fanficfare # youtube-dl for fanfics. Not that I read fanfics.
youtube-dl # A program that can be sued for false advertisement as you can download from other video sources.
];
};
}