nixcfg/nixosModules/apps/nicotine-plus/default.nix

27 lines
448 B
Nix

{
config,
lib,
pkgs,
...
}: {
config = lib.mkIf config.ar.apps.nicotine-plus.enable {
environment.systemPackages = [pkgs.nicotine-plus];
networking = {
firewall.allowedTCPPortRanges = [
# Soulseek
{
from = 2234;
to = 2239;
}
];
firewall.allowedUDPPortRanges = [
# Soulseek
{
from = 2234;
to = 2239;
}
];
};
};
}