This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / machines / virtulus / container.nix
934 B 34 lines
1{ self }: 2let 3 machineName = "virtulus"; 4in 5{ 6 privateNetwork = true; 7 hostBridge = "ctr0"; 8 9 specialArgs = { inherit self; }; 10 11 config = { 12 imports = [ 13 self.inputs.clan-core.nixosModules.clanCore 14 ./config.nix 15 ]; 16 clan.core.settings.directory = self; 17 clan.core.settings.machine.name = machineName; 18 19 # Accept Router Advertisements for SLAAC (IPv6 auto-configuration) 20 # Address will be generated from prefix + interface ID (stable privacy) 21 systemd.network.networks."10-container" = { 22 matchConfig.Name = "eth0"; 23 networkConfig = { 24 IPv6AcceptRA = true; 25 # Use stable privacy addresses (RFC 7217) - deterministic per interface 26 IPv6PrivacyExtensions = "prefer-public"; 27 }; 28 }; 29 30 # DNS will be configured via RDNSS from Router Advertisements 31 # But keep a fallback in case RDNSS isn't received 32 networking.nameservers = [ "fd00:c700::1" ]; 33 }; 34}