1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-10 12:33:56 +00:00
ultima/modules/home/programs/custom/torrent/default.nix

22 lines
292 B
Nix

{
x,
pkgs,
lib,
config,
...
}:
with lib;
with x;
let
cfg = config.module.programs.custom.torrent;
in
{
options = {
module.programs.custom.torrent = {
enable = mkBool;
};
};
config = mkIf cfg.enable { home.packages = [ (pkgs.callPackage ./pkg.nix { }) ]; };
}