mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
35 lines
650 B
Nix
35 lines
650 B
Nix
{meta, lib, ...}: {
|
|
imports = with meta; [
|
|
nixos.ct.reisen
|
|
];
|
|
|
|
# allow proxmox to provide us with our hostname
|
|
environment.etc.hostname.enable = false;
|
|
services.avahi.hostName = "";
|
|
|
|
system = {
|
|
stateVersion = "23.11";
|
|
nixos.tags = lib.mkForce [ "template" ];
|
|
};
|
|
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
|
|
'';
|
|
}
|