elucredassa: init
This commit is contained in:
parent
ba8fc5fef6
commit
2a7baa9b62
5 changed files with 79 additions and 0 deletions
15
hosts/elucredassa/networking.nix
Normal file
15
hosts/elucredassa/networking.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
systemd.network.enable = true;
|
||||
networking.useDHCP = false;
|
||||
|
||||
systemd.network.networks."10-wan" = {
|
||||
matchConfig.Name = "enp1s0f1";
|
||||
networkConfig = {
|
||||
DHCP = "ipv4";
|
||||
IPv6AcceptRA = true;
|
||||
};
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue