nixos-config/modules/nixos/programs/torrents/default.nix

16 lines
417 B
Nix

{ config, lib, pkgs, ... }:
{
options.chvp.programs.torrents.enable = lib.mkOption {
default = false;
example = true;
};
config = lib.mkIf config.chvp.programs.torrents.enable {
chvp.base.zfs.homeLinks = [{ path = ".config/transmission-remote-gtk"; type = "data"; }];
home-manager.users.charlotte = { pkgs, ... }: {
home.packages = with pkgs; [ transmission-remote-gtk ];
};
};
}