mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 11:21:53 -05:00
27 lines
448 B
Nix
27 lines
448 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
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;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|