mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-29 18:08:29 +02:00
prepared the new vps
This commit is contained in:
parent
534dba6dbe
commit
1cd25fb778
5 changed files with 102 additions and 3 deletions
21
hosts/falkenstein-1/modules/networks/default.nix
Normal file
21
hosts/falkenstein-1/modules/networks/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
networking = {
|
||||
hostName = "nuc";
|
||||
useNetworkd = true;
|
||||
enableIPv6 = true;
|
||||
};
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks."10-loopback" = {
|
||||
matchConfig.Name = "lo";
|
||||
linkConfig.RequiredForOnline = false;
|
||||
};
|
||||
networks."10-wired" = {
|
||||
matchConfig.Name = "ens3";
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue