set static ip for semita
This commit is contained in:
parent
0038dbf8ce
commit
2e90b1ae46
|
@ -41,7 +41,7 @@
|
|||
|
||||
if [ -z "$IP_ADDRESS" ];
|
||||
then
|
||||
printf "$network_symbol"
|
||||
printf "[$network_symbol] "
|
||||
else
|
||||
printf "[$network_symbol|$IP_ADDRESS] "
|
||||
fi
|
||||
|
|
|
@ -83,6 +83,19 @@ in {
|
|||
networkmanager.enable = true;
|
||||
enableIPv6 = false;
|
||||
nameservers = ["10.0.10.60" "8.8.8.8"];
|
||||
interfaces.eth0 = {
|
||||
useDHCP = false;
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "192.10.99.2";
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
};
|
||||
defaultGateway = {
|
||||
address = "10.0.10.3";
|
||||
interface = "eth0";
|
||||
};
|
||||
};
|
||||
|
||||
services.libinput.enable = true;
|
||||
|
|
Loading…
Reference in New Issue