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

27 lines
448 B
Nix
Raw Normal View History

2024-04-17 20:00:39 -04:00
{
config,
lib,
pkgs,
2024-04-17 20:00:39 -04:00
...
}: {
config = lib.mkIf config.ar.apps.nicotine-plus.enable {
2024-04-27 19:23:40 -04:00
environment.systemPackages = [pkgs.nicotine-plus];
2024-04-17 20:00:39 -04:00
networking = {
firewall.allowedTCPPortRanges = [
# Soulseek
{
from = 2234;
to = 2239;
}
];
firewall.allowedUDPPortRanges = [
# Soulseek
{
from = 2234;
to = 2239;
}
];
};
};
}