dotfiles/modules/mosh.sys.nix

14 lines
229 B
Nix
Raw Normal View History

{pkgs
,lib
,config
2023-01-12 17:50:46 +00:00
,...
}: {
environment.systemPackages = [pkgs.mosh];
networking.firewall = lib.mkIf config.networking.firewall.enable {
allowedUDPPortRanges = [
{ from = 60000; to = 61000; } # mosh
];
};
}