17 lines
351 B
Nix
17 lines
351 B
Nix
{ outputs, options, config, lib, pkgs, ...}:
|
|
with lib;
|
|
let
|
|
cfg = config.modules.desktop.apps.transmission;
|
|
in
|
|
{
|
|
options.modules.desktop.apps.transmission = {
|
|
enable = mkEnableOption false;
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
#TODO(sako):: figure out service
|
|
users.users.sako.packages = with pkgs; [
|
|
transmission-gtk
|
|
];
|
|
};
|
|
}
|