nixos-config/modules/nixos/profiles/archiving.nix

25 lines
1006 B
Nix

# All of your embarrassing moments, marked here forever.
{ config, lib, pkgs, ... }:
let cfg = config.profiles.archiving;
in {
options.profiles.archiving.enable =
lib.mkEnableOption "installation of various archiving tools";
# This is not going to set BorgBackup NixOS services for you.
# Please do it for host-specific configs instead.
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
#archivebox # Create by ye' old pirate.
archiver # Extract and create all of the archives.
borgbackup # I'm pretty sure this is named after some thing from a franchise somewhere but I'm not omnipresent.
borgmatic # BorgBackup but for those who can't script.
fanficfare # Your fanfics in my hard drive? Pay me rent first.
gallery-dl # All image galleries are not safe, too.
monolith # Bundling web pages into a cinnamon roll.
wget # An WARC creator.
yt-dlp # More active fork after youtube-dl has been striked.
];
};
}