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

18 lines
351 B
Nix
Raw Normal View History

2023-07-19 01:59:19 +04:00
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
2023-07-19 02:00:01 +04:00
cfg = config.modules.desktop.apps.transmission;
2023-07-19 01:59:19 +04:00
in
{
2023-07-19 02:00:01 +04:00
options.modules.desktop.apps.transmission = {
2023-07-19 01:59:19 +04:00
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
#TODO(sako):: figure out service
users.users.sako.packages = with pkgs; [
transmission-gtk
];
};
}