Compare commits
3 Commits
a201969a96
...
08a6620631
Author | SHA1 | Date | |
---|---|---|---|
|
08a6620631 | ||
|
f84cac37ca | ||
b17c444ae2 |
18
flake.lock
18
flake.lock
@ -9,11 +9,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701216516,
|
"lastModified": 1703107199,
|
||||||
"narHash": "sha256-jKSeJn+7hZ1dZdiH1L+NWUGT2i/BGomKAJ54B9kT06Q=",
|
"narHash": "sha256-Xx9Kkoqye520mkEWTZx/sKQRJsIeWOuwoh568uwHpNg=",
|
||||||
"owner": "ryantm",
|
"owner": "ryantm",
|
||||||
"repo": "agenix",
|
"repo": "agenix",
|
||||||
"rev": "13ac9ac6d68b9a0896e3d43a082947233189e247",
|
"rev": "17090d105af1b9f941109c1e12d6e3a596657f97",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -218,11 +218,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-krypton": {
|
"nixpkgs-krypton": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1702830618,
|
"lastModified": 1703013332,
|
||||||
"narHash": "sha256-lvhwIvRwhOLgzbRuYkqHy4M5cQHYs4ktL6/hyuBS6II=",
|
"narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "91a00709aebb3602f172a0bf47ba1ef013e34835",
|
"rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -234,11 +234,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1702830618,
|
"lastModified": 1703013332,
|
||||||
"narHash": "sha256-lvhwIvRwhOLgzbRuYkqHy4M5cQHYs4ktL6/hyuBS6II=",
|
"narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "91a00709aebb3602f172a0bf47ba1ef013e34835",
|
"rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -34,6 +34,14 @@
|
|||||||
id = 7;
|
id = 7;
|
||||||
interface = "enp1s0";
|
interface = "enp1s0";
|
||||||
};
|
};
|
||||||
|
networking.vlans."enp3s0.7" = {
|
||||||
|
id = 7;
|
||||||
|
interface = "enp3s0";
|
||||||
|
};
|
||||||
|
networking.bridges."net-dsl".interfaces = [
|
||||||
|
"enp1s0.7"
|
||||||
|
"enp3s0.7"
|
||||||
|
];
|
||||||
## LTE-Uplink
|
## LTE-Uplink
|
||||||
networking.vlans."enp1s0.102" = {
|
networking.vlans."enp1s0.102" = {
|
||||||
id = 102;
|
id = 102;
|
||||||
@ -44,12 +52,16 @@
|
|||||||
id = 201;
|
id = 201;
|
||||||
interface = "enp1s0";
|
interface = "enp1s0";
|
||||||
};
|
};
|
||||||
networking.interfaces."enp1s0.201".ipv6.addresses = [
|
networking.bridges."net-heimnetz".interfaces = [
|
||||||
|
"enp1s0.201"
|
||||||
|
"enp2s0"
|
||||||
|
];
|
||||||
|
networking.interfaces."net-heimnetz".ipv6.addresses = [
|
||||||
{ address = "fe80::1"; prefixLength = 64; }
|
{ address = "fe80::1"; prefixLength = 64; }
|
||||||
{ address = "fd00:152:152:4::1"; prefixLength = 64; }
|
{ address = "fd00:152:152:4::1"; prefixLength = 64; }
|
||||||
{ address = "2001:4cd8:100:1337::1"; prefixLength = 64; } # public IPs for local network
|
{ address = "2001:4cd8:100:1337::1"; prefixLength = 64; } # public IPs for local network
|
||||||
];
|
];
|
||||||
networking.interfaces."enp1s0.201".ipv4.addresses = [
|
networking.interfaces."net-heimnetz".ipv4.addresses = [
|
||||||
{ address = "10.152.4.1"; prefixLength = 24; }
|
{ address = "10.152.4.1"; prefixLength = 24; }
|
||||||
];
|
];
|
||||||
## Gastnetz
|
## Gastnetz
|
||||||
@ -72,6 +84,7 @@
|
|||||||
networking.interfaces."enp1s0.204".ipv4.addresses = [
|
networking.interfaces."enp1s0.204".ipv4.addresses = [
|
||||||
{ address = "10.152.33.1"; prefixLength = 24; }
|
{ address = "10.152.33.1"; prefixLength = 24; }
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use Anycast Nameservers
|
# Use Anycast Nameservers
|
||||||
networking.nameservers = [ "fd00:152:152::1" "10.152.0.1" ];
|
networking.nameservers = [ "fd00:152:152::1" "10.152.0.1" ];
|
||||||
|
|
||||||
@ -85,7 +98,7 @@
|
|||||||
|
|
||||||
services.radvd.enable = true;
|
services.radvd.enable = true;
|
||||||
services.radvd.config = ''
|
services.radvd.config = ''
|
||||||
interface enp1s0.201 {
|
interface net-heimnetz {
|
||||||
AdvSendAdvert on;
|
AdvSendAdvert on;
|
||||||
prefix 2001:4cd8:100:1337::/64 {};
|
prefix 2001:4cd8:100:1337::/64 {};
|
||||||
RDNSS fd00:152:152::1 {};
|
RDNSS fd00:152:152::1 {};
|
||||||
@ -102,7 +115,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
interfaces-config = {
|
interfaces-config = {
|
||||||
interfaces = [ "enp1s0.201" "enp1s0.202" "enp1s0.204" ];
|
interfaces = [ "net-heimnetz" "enp1s0.202" "enp1s0.204" ];
|
||||||
service-sockets-max-retries = 15;
|
service-sockets-max-retries = 15;
|
||||||
service-sockets-retry-wait-time = 2000;
|
service-sockets-retry-wait-time = 2000;
|
||||||
};
|
};
|
||||||
@ -258,7 +271,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
peers.ntvdsl = {
|
peers.ntvdsl = {
|
||||||
config = ''
|
config = ''
|
||||||
plugin rp-pppoe.so enp1s0.7
|
plugin pppoe.so net-dsl
|
||||||
user "dsl-31997-001#regio@bsa-vdsl"
|
user "dsl-31997-001#regio@bsa-vdsl"
|
||||||
ifname ppp-ntvdsl
|
ifname ppp-ntvdsl
|
||||||
persist
|
persist
|
||||||
|
Loading…
Reference in New Issue
Block a user