mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(access): optional slaac on int
This commit is contained in:
parent
f3d9d2f1eb
commit
7a2d834742
7 changed files with 87 additions and 12 deletions
|
|
@ -8,4 +8,25 @@
|
|||
services.avahi.hostName = "";
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
environment.etc."systemd/network/eth9.network.d/int.conf".text = ''
|
||||
[Match]
|
||||
Name=eth9
|
||||
Type=ether
|
||||
|
||||
[Link]
|
||||
RequiredForOnline=false
|
||||
|
||||
[Network]
|
||||
IPv6AcceptRA=true
|
||||
IPv6SendRA=false
|
||||
DHCP=no
|
||||
|
||||
[IPv6Prefix]
|
||||
AddressAutoconfiguration=false
|
||||
Prefix=fd0c::/64
|
||||
Assign=true
|
||||
|
||||
[IPv6AcceptRA]
|
||||
DHCPv6Client=false
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,3 +11,5 @@ method=manual
|
|||
address1=fd0c::aa/64
|
||||
may-fail=true
|
||||
method=manual
|
||||
addr-gen-mode=eui64
|
||||
token=::aa
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ in {
|
|||
nixos.sops
|
||||
nixos.base
|
||||
nixos.reisen-ct
|
||||
nixos.int
|
||||
nixos.ipa
|
||||
nixos.cloudflared
|
||||
nixos.nginx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue