mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
6b481a163a
While it is easier to maintain the modules by prefixing them all with `modules`, it is not easy when used from other flakes and/or modules. This is my attempt on making it easier with appropriate namespaces. Update home-manager user from the restructure
23 lines
841 B
Nix
23 lines
841 B
Nix
{ config, options, lib, pkgs, ... }:
|
|
|
|
let cfg = config.profiles.research;
|
|
in {
|
|
options.profiles.research.enable =
|
|
lib.mkEnableOption "my usual toolbelt for research";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
archivebox # The ultimate archiving solution created by a pirate!
|
|
curl # The general purpose downloader.
|
|
fanficfare # It's for the badly written fanfics.
|
|
internetarchive # All of the potential vintage collection of questionable materials at your fingertips.
|
|
newsboat # Reading news easily on the command line?
|
|
qbittorrent # The pirate's toolkit for downloading Linux ISOs.
|
|
yt-dlp # The general purpose video downloader.
|
|
zotero # It's actually good at archiving despite not being a researcher myself.
|
|
];
|
|
|
|
services.syncthing.enable = true;
|
|
};
|
|
}
|