$ sudo systemctl disable --now NetworkManager.service
$ sudo nano /etc/systemd/network/enp0s3.network
[Match]
Name=enp0s3
[Network]
Address=192.168.1.10/24
Gateway=192.168.1.1
DNS=8.8.8.8
DNS=8.8.4.4
$ sudo systemctl enable --now systemd-networkd.service