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,18 +27,16 @@
|
|||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
systemd.network.networks."99-local" = {
|
||||
matchConfig.name = "enp68s0";
|
||||
address = [
|
||||
"192.168.1.100/24"
|
||||
];
|
||||
routes = [
|
||||
networking = {
|
||||
interfaces.ens4d1 = {
|
||||
ipv4.addresses = [
|
||||
{
|
||||
Gateway = "172.16.10.1";
|
||||
GatewayOnLink = false;
|
||||
address = "192.168.1.101";
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
liv = {
|
||||
desktop.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue