2021-11-25 11:55:30 +00:00
|
|
|
# All of your embarrassing moments, marked here forever.
|
|
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
|
2022-01-09 05:38:59 +00:00
|
|
|
let cfg = config.profiles.archiving;
|
2021-11-25 13:45:48 +00:00
|
|
|
in {
|
2022-01-09 05:38:59 +00:00
|
|
|
options.profiles.archiving.enable =
|
2021-12-11 05:16:45 +00:00
|
|
|
lib.mkEnableOption "installation of various archiving tools";
|
2021-11-25 11:55:30 +00:00
|
|
|
|
|
|
|
# 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; [
|
2022-09-21 05:42:38 +00:00
|
|
|
#archivebox # Create by ye' old pirate.
|
2022-07-18 23:07:53 +00:00
|
|
|
archiver # Extract and create all of the archives.
|
2021-11-25 13:45:48 +00:00
|
|
|
borgbackup # I'm pretty sure this is named after some thing from a franchise somewhere but I'm not omnipresent.
|
2022-10-13 10:32:47 +00:00
|
|
|
borgmatic # BorgBackup but for those who can't script.
|
2021-11-25 13:45:48 +00:00
|
|
|
fanficfare # Your fanfics in my hard drive? Pay me rent first.
|
2022-03-28 00:20:02 +00:00
|
|
|
gallery-dl # All image galleries are not safe, too.
|
|
|
|
monolith # Bundling web pages into a cinnamon roll.
|
|
|
|
wget # An WARC creator.
|
2021-11-25 13:45:48 +00:00
|
|
|
yt-dlp # More active fork after youtube-dl has been striked.
|
2021-11-25 11:55:30 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|