mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
parent
1999030ee2
commit
de4d969a0e
|
@ -1,14 +1,5 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.radvd = {
|
||||
enable = true;
|
||||
config = ''
|
||||
interface ens3 {
|
||||
AdvSendAdvert on;
|
||||
prefix 2a01:4f8:c012:49de::/64 {};
|
||||
};
|
||||
'';
|
||||
};
|
||||
networking = {
|
||||
hostName = "falkenstein-1";
|
||||
useNetworkd = true;
|
||||
|
@ -23,8 +14,10 @@
|
|||
networks."10-wired" = {
|
||||
matchConfig.Name = "ens3";
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
DHCP = "ipv4";
|
||||
IPv6AcceptRA = "yes";
|
||||
Address = "2a01:4f8:c012:49de::1/64";
|
||||
Gateway = "fe80::1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
recommendedProxySettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
|
||||
|
||||
virtualHosts."rfive.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
|
|
@ -46,8 +46,6 @@
|
|||
linkConfig.RequiredForOnline = false;
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
IPv6AcceptRA = "yes";
|
||||
IPv6PrivacyExtensions = "yes";
|
||||
};
|
||||
dhcpV4Config = {
|
||||
RouteMetric = 10;
|
||||
|
@ -77,7 +75,7 @@
|
|||
DHCP = "yes";
|
||||
IgnoreCarrierLoss = "3s";
|
||||
IPv6AcceptRA = "yes";
|
||||
IPv6PrivacyExtensions = "yes";
|
||||
#IPv6PrefixDelegation = "dhcpv6";
|
||||
};
|
||||
dhcpV4Config = {
|
||||
RouteMetric = 20;
|
||||
|
|
Loading…
Reference in a new issue