nixos-config/config/services/iscsi.nix
2022-06-20 19:15:47 +01:00

7 lines
201 B
Nix

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