nixos/modules/desktop/apps/transmission/default.nix

20 lines
408 B
Nix

{ outputs, options, config, lib, pkgs, ...}:
let
cfg = config.modules.desktop.apps.transmission;
in
{
imports = [
./remote-tui.nix
./daemon.nix
];
options.modules.desktop.apps.transmission = {
enable = lib.mkEnableOption false;
};
config = lib.mkIf cfg.enable {
#TODO(sako):: figure out service
users.users.sako.packages = with pkgs; [
transmission_4-gtk
];
};
}