mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:09:24 +08:00
devices.srv2: set network
This commit is contained in:
@@ -10,7 +10,11 @@ inputs:
|
||||
nixpkgs.march = "znver3";
|
||||
network.settings =
|
||||
{
|
||||
static.enp58s0 = { ip = "192.168.178.1"; mask = 24; };
|
||||
static =
|
||||
{
|
||||
enp58s0 = { ip = "192.168.178.1"; mask = 24; };
|
||||
enp56s0 = { ip = "218.193.58.154"; mask = 24; gateway = "218.193.58.1"; dns = "210.34.0.14"; };
|
||||
};
|
||||
trust = [ "enp58s0" ];
|
||||
masquerade = [ "enp58s0" ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user