1 { config, pkgs, lib, ... }:
4 options.programs.sharing = {
5 enable = mkEnableOption (lib.mdDoc ''
6 sharing, a CLI tool for sharing files.
8 Note that it will opens the 7478 port for TCP in the firewall, which is needed for it to function properly
13 cfg = config.programs.sharing;
16 environment.systemPackages = [ pkgs.sharing ];
17 networking.firewall.allowedTCPPorts = [ 7478 ];