Compare commits
No commits in common. "08a6620631c321ceaabcf77b36a7188056808574" and "a201969a96f089e3f9c37980acc1fbf7b2e9807e" have entirely different histories.
08a6620631
...
a201969a96
18
flake.lock
18
flake.lock
@ -9,11 +9,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703107199,
|
"lastModified": 1701216516,
|
||||||
"narHash": "sha256-Xx9Kkoqye520mkEWTZx/sKQRJsIeWOuwoh568uwHpNg=",
|
"narHash": "sha256-jKSeJn+7hZ1dZdiH1L+NWUGT2i/BGomKAJ54B9kT06Q=",
|
||||||
"owner": "ryantm",
|
"owner": "ryantm",
|
||||||
"repo": "agenix",
|
"repo": "agenix",
|
||||||
"rev": "17090d105af1b9f941109c1e12d6e3a596657f97",
|
"rev": "13ac9ac6d68b9a0896e3d43a082947233189e247",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -218,11 +218,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-krypton": {
|
"nixpkgs-krypton": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703013332,
|
"lastModified": 1702830618,
|
||||||
"narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=",
|
"narHash": "sha256-lvhwIvRwhOLgzbRuYkqHy4M5cQHYs4ktL6/hyuBS6II=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6",
|
"rev": "91a00709aebb3602f172a0bf47ba1ef013e34835",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -234,11 +234,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703013332,
|
"lastModified": 1702830618,
|
||||||
"narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=",
|
"narHash": "sha256-lvhwIvRwhOLgzbRuYkqHy4M5cQHYs4ktL6/hyuBS6II=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6",
|
"rev": "91a00709aebb3602f172a0bf47ba1ef013e34835",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -34,14 +34,6 @@
|
|||||||
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;
|
||||||
@ -52,16 +44,12 @@
|
|||||||
id = 201;
|
id = 201;
|
||||||
interface = "enp1s0";
|
interface = "enp1s0";
|
||||||
};
|
};
|
||||||
networking.bridges."net-heimnetz".interfaces = [
|
networking.interfaces."enp1s0.201".ipv6.addresses = [
|
||||||
"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."net-heimnetz".ipv4.addresses = [
|
networking.interfaces."enp1s0.201".ipv4.addresses = [
|
||||||
{ address = "10.152.4.1"; prefixLength = 24; }
|
{ address = "10.152.4.1"; prefixLength = 24; }
|
||||||
];
|
];
|
||||||
## Gastnetz
|
## Gastnetz
|
||||||
@ -84,7 +72,6 @@
|
|||||||
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" ];
|
||||||
|
|
||||||
@ -98,7 +85,7 @@
|
|||||||
|
|
||||||
services.radvd.enable = true;
|
services.radvd.enable = true;
|
||||||
services.radvd.config = ''
|
services.radvd.config = ''
|
||||||
interface net-heimnetz {
|
interface enp1s0.201 {
|
||||||
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 {};
|
||||||
@ -115,7 +102,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
interfaces-config = {
|
interfaces-config = {
|
||||||
interfaces = [ "net-heimnetz" "enp1s0.202" "enp1s0.204" ];
|
interfaces = [ "enp1s0.201" "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;
|
||||||
};
|
};
|
||||||
@ -271,7 +258,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
peers.ntvdsl = {
|
peers.ntvdsl = {
|
||||||
config = ''
|
config = ''
|
||||||
plugin pppoe.so net-dsl
|
plugin rp-pppoe.so enp1s0.7
|
||||||
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