feat: add 'torrenting' module

This commit is contained in:
2026-04-05 15:31:25 +02:00
parent 4cac77f4c7
commit 2929a10d62
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.torrenting;
in
{
options.torrenting = {
enable = lib.mkEnableOption "transmission torrent client";
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
transmission_4
];
};
}