nixos/modules/desktop/apps/transmission/default.nix
2024-08-01 16:24:09 +04:00

20 lines
406 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-gtk
];
};
}