This repository has no description
0

Configure Feed

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

gg23: add static lease for firetv

+21 -5
+21 -5
2configs/gg23.nix
··· 1 1 { config, lib, pkgs, ... }: 2 2 { 3 - # ipv6 from vodafone is really really flaky 4 - boot.kernel.sysctl."net.ipv6.conf.et0.disable_ipv6" = 1; 5 3 # vodafone router drifts out of time 6 4 services.timesyncd.servers = [ 7 5 "0.pool.ntp.org" ··· 11 9 ]; 12 10 systemd.network.networks."50-et0" = { 13 11 matchConfig.Name = "et0"; 14 - DHCP = "ipv4"; 12 + DHCP = "yes"; 15 13 # dhcpV4Config.UseDNS = false; 16 14 # dhcpV6Config.UseDNS = false; 17 15 linkConfig = { ··· 45 43 # DHCPPrefixDelegation = "yes"; 46 44 }; 47 45 dhcpServerStaticLeases = [ 48 - { 46 + { # printer 49 47 dhcpServerStaticLeaseConfig = { 50 48 Address = "10.42.0.4"; 51 49 MACAddress = "3c:2a:f4:22:28:37"; 50 + }; 51 + } 52 + { # firetv 53 + dhcpServerStaticLeaseConfig = { 54 + Address = "10.42.0.11"; 55 + MACAddress = "84:28:59:f0:d2:a8"; 56 + }; 57 + } 58 + # { 59 + # dhcpServerStaticLeaseConfig = { 60 + # Address = "10.42.0.10"; 61 + # MACAddress = "ea:4d:12:94:74:2a"; 62 + # }; 63 + # } 64 + { 65 + dhcpServerStaticLeaseConfig = { 66 + Address = "10.42.0.10"; 67 + MACAddress = "fe:fe:fe:fe:fe:fe"; 52 68 }; 53 69 } 54 70 ]; ··· 83 99 local=/gg23/ 84 100 domain=gg23 85 101 expand-hosts 86 - listen-address=10.42.0.1 102 + listen-address=10.42.0.1,10.233.0.1 87 103 interface=int0 88 104 ''; 89 105 };