1
0

Compare commits

..

6 Commits

Author SHA1 Message Date
3377218ee0
flake.nix: Add lix 2024-11-20 20:41:35 +01:00
d946d31c81
configuration/common: Pin nix version to 2.18 2024-11-20 20:40:27 +01:00
5f6c3b9258
configuration/common: Remove nix experimental feature repl-flake 2024-11-20 20:32:41 +01:00
54dc097b44
hosts/carbon: Enable mDNS reflection between net-heimnetz and net-iot 2024-11-12 21:09:45 +01:00
684c5e9ac5 hosts/zinc: Add mumble 2024-11-10 20:05:18 +01:00
6840548833 hosts/carbon: Readvertise prefixes often enough
Advertise current prefixes more often than claimed addresses expire.
Also increased lifetimes for claimed addresses.
2024-11-10 19:52:47 +01:00
8 changed files with 34 additions and 9 deletions

View File

@ -26,7 +26,6 @@
experimental-features = [ experimental-features = [
"flakes" "flakes"
"nix-command" "nix-command"
"repl-flake"
]; ];
substituters = [ substituters = [
"https://nix-cache.clerie.de" "https://nix-cache.clerie.de"
@ -63,6 +62,8 @@
}; };
}; };
nix.package = pkgs.nixVersions.nix_2_18;
documentation.doc.enable = false; documentation.doc.enable = false;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View File

@ -7,6 +7,7 @@
../../configuration/router ../../configuration/router
./dns.nix ./dns.nix
./mdns.nix
./net-dsl.nix ./net-dsl.nix
./net-gastnetz.nix ./net-gastnetz.nix
./net-heimnetz.nix ./net-heimnetz.nix

17
hosts/carbon/mdns.nix Normal file
View File

@ -0,0 +1,17 @@
{ pkgs, ... }:
{
services.avahi = {
enable = true;
nssmdns4 = true;
allowInterfaces = [
"net-heimnetz"
"net-iot"
];
reflector = true;
};
}

View File

@ -20,9 +20,10 @@
services.radvd.config = '' services.radvd.config = ''
interface net-gastnetz { interface net-gastnetz {
AdvSendAdvert on; AdvSendAdvert on;
MaxRtrAdvInterval 30;
prefix ::/64 { prefix ::/64 {
AdvValidLifetime 60; AdvValidLifetime 300;
AdvPreferredLifetime 30; AdvPreferredLifetime 120;
}; };
RDNSS 2620:fe::fe 2620:fe::9 {}; # Quad 9 RDNSS 2620:fe::fe 2620:fe::9 {}; # Quad 9
}; };

View File

@ -22,9 +22,10 @@
services.radvd.config = '' services.radvd.config = ''
interface net-heimnetz { interface net-heimnetz {
AdvSendAdvert on; AdvSendAdvert on;
MaxRtrAdvInterval 30;
prefix ::/64 { prefix ::/64 {
AdvValidLifetime 60; AdvValidLifetime 300;
AdvPreferredLifetime 30; AdvPreferredLifetime 120;
}; };
RDNSS fd00:152:152::1 {}; RDNSS fd00:152:152::1 {};
DNSSL net.clerie.de {}; DNSSL net.clerie.de {};

View File

@ -23,9 +23,10 @@
services.radvd.config = '' services.radvd.config = ''
interface net-iot { interface net-iot {
AdvSendAdvert on; AdvSendAdvert on;
MaxRtrAdvInterval 30;
prefix ::/64 { prefix ::/64 {
AdvValidLifetime 60; AdvValidLifetime 300;
AdvPreferredLifetime 30; AdvPreferredLifetime 120;
}; };
RDNSS fd00:152:152::1 {}; RDNSS fd00:152:152::1 {};
DNSSL iot.clerie.de {}; DNSSL iot.clerie.de {};

View File

@ -20,9 +20,10 @@
services.radvd.config = '' services.radvd.config = ''
interface net-mgmt { interface net-mgmt {
AdvSendAdvert on; AdvSendAdvert on;
MaxRtrAdvInterval 30;
prefix ::/64 { prefix ::/64 {
AdvValidLifetime 60; AdvValidLifetime 300;
AdvPreferredLifetime 30; AdvPreferredLifetime 120;
}; };
}; };
''; '';

View File

@ -7,6 +7,8 @@
blender blender
#cura # libarcus library is currently broken, required for curaengine #cura # libarcus library is currently broken, required for curaengine
mumble
]; ];
} }