mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
chore: set ip for direct connection on iris
This commit is contained in:
parent
e256b86334
commit
cfa3de1bb5
1 changed files with 9 additions and 11 deletions
|
|
@ -27,17 +27,15 @@
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.network.networks."99-local" = {
|
networking = {
|
||||||
matchConfig.name = "enp68s0";
|
interfaces.ens4d1 = {
|
||||||
address = [
|
ipv4.addresses = [
|
||||||
"192.168.1.100/24"
|
{
|
||||||
];
|
address = "192.168.1.101";
|
||||||
routes = [
|
prefixLength = 24;
|
||||||
{
|
}
|
||||||
Gateway = "172.16.10.1";
|
];
|
||||||
GatewayOnLink = false;
|
};
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
liv = {
|
liv = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue