alpha
Login
or
Join now
hermes.pds.lassul.us
/
superconfig
forked from
lass.pds.lassul.us/superconfig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
gg23: add static lease for firetv
author
lassulus
date
2 years ago
(Mar 28, 2024, 10:40 PM CET)
commit
f1488be2
f1488be2cb974ae8fe866c9265e3c95941532ab9
parent
e34cf2fb
e34cf2fb69ae4276be1f5f2cecd7a1333395e416
+21
-5
1 changed file
Expand all
Collapse all
Unified
Split
2configs
gg23.nix
+21
-5
2configs/gg23.nix
View file
Reviewed
···
1
1
{ config, lib, pkgs, ... }:
2
2
{
3
3
-
# ipv6 from vodafone is really really flaky
4
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
14
-
DHCP = "ipv4";
12
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
48
-
{
46
46
+
{ # printer
49
47
dhcpServerStaticLeaseConfig = {
50
48
Address = "10.42.0.4";
51
49
MACAddress = "3c:2a:f4:22:28:37";
50
50
+
};
51
51
+
}
52
52
+
{ # firetv
53
53
+
dhcpServerStaticLeaseConfig = {
54
54
+
Address = "10.42.0.11";
55
55
+
MACAddress = "84:28:59:f0:d2:a8";
56
56
+
};
57
57
+
}
58
58
+
# {
59
59
+
# dhcpServerStaticLeaseConfig = {
60
60
+
# Address = "10.42.0.10";
61
61
+
# MACAddress = "ea:4d:12:94:74:2a";
62
62
+
# };
63
63
+
# }
64
64
+
{
65
65
+
dhcpServerStaticLeaseConfig = {
66
66
+
Address = "10.42.0.10";
67
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
86
-
listen-address=10.42.0.1
102
102
+
listen-address=10.42.0.1,10.233.0.1
87
103
interface=int0
88
104
'';
89
105
};