nixos/modules/desktop/apps/transmission/default.nix
2023-07-19 00:59:19 +03:00

17 lines
315 B
Nix

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