nixos-config/config/services/iscsi.nix

8 lines
201 B
Nix
Raw Normal View History

2022-06-20 18:15:47 +00:00
{ config, ... }: {
services.openiscsi = {
name = "iqn.2022-06.rs.chir:${config.networking.hostId}";
enable = true;
};
networking.firewall.interfaces."br0".allowedTCPPorts = [860 3260];
}