2023-10-02 06:26:11 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
2021-12-08 04:18:37 +00:00
|
|
|
|
2023-12-13 03:10:02 +00:00
|
|
|
let
|
|
|
|
userCfg = config.users.foo-dogsquared;
|
|
|
|
cfg = userCfg.programs.research;
|
2021-12-08 04:18:37 +00:00
|
|
|
in {
|
2023-12-13 03:10:02 +00:00
|
|
|
options.users.foo-dogsquared.programs.research.enable =
|
|
|
|
lib.mkEnableOption "foo-dogsquared's usual toolbelt for research";
|
2021-12-08 04:18:37 +00:00
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
home.packages = with pkgs; [
|
2022-10-13 10:32:47 +00:00
|
|
|
anki # Rise, rinse, and repeat.
|
2023-12-13 03:10:02 +00:00
|
|
|
#archivebox # The ultimate archiving solution created by a pirate!
|
2021-12-08 04:18:37 +00:00
|
|
|
curl # The general purpose downloader.
|
2021-12-11 05:16:45 +00:00
|
|
|
fanficfare # It's for the badly written fanfics.
|
2022-04-03 02:24:10 +00:00
|
|
|
gallery-dl # More potential for your image collection.
|
2021-12-11 05:16:45 +00:00
|
|
|
internetarchive # All of the potential vintage collection of questionable materials at your fingertips.
|
2023-09-21 03:38:21 +00:00
|
|
|
kiwix # Offline reader for your fanon wiki.
|
2022-04-03 02:24:10 +00:00
|
|
|
monolith # Archive webpages into a single file.
|
2021-12-08 04:18:37 +00:00
|
|
|
qbittorrent # The pirate's toolkit for downloading Linux ISOs.
|
2023-09-19 09:15:34 +00:00
|
|
|
sherlock # Make a profile of your *target*.
|
2022-04-03 02:24:10 +00:00
|
|
|
wget # Who would've think a simple tool can be made for this purpose?
|
2021-12-13 07:20:34 +00:00
|
|
|
yt-dlp # The general purpose video downloader.
|
2021-12-08 04:18:37 +00:00
|
|
|
zotero # It's actually good at archiving despite not being a researcher myself.
|
|
|
|
];
|
2022-01-09 05:38:59 +00:00
|
|
|
|
|
|
|
services.syncthing.enable = true;
|
2023-09-09 11:34:10 +00:00
|
|
|
|
|
|
|
xdg.mimeApps.defaultApplications = {
|
|
|
|
"application/vnd.anki" = [ "anki.desktop" ];
|
|
|
|
};
|
2021-12-08 04:18:37 +00:00
|
|
|
};
|
|
|
|
}
|