Trucrux provinces “nmcli” Networking Package to configure the network.
To set static IP run the below command. Replace <static ip-address> with static IP and <gateway address> with Gateway Address.
nmcli connection add type ethernet con-name my-static-ip ifname eth0 ip4 <static ip-address> gw4 <gateway address>
For Example
$ nmcli con add type ethernet con-name my-static-ip ifname eth0 ip4 10.10.10.10/24
gw4 10.10.10.254