l wiregrill: use networkd
This commit is contained in:
parent
4ca3c82898
commit
e2ff8598a6
@ -23,6 +23,13 @@ in mkIf (hasAttr "wiregrill" config.krebs.build.host.nets) {
|
||||
{ precedence = 1000; predicate = "-i wiregrill -o eth0"; target = "ACCEPT"; }
|
||||
{ precedence = 1000; predicate = "-o wiregrill -m conntrack --ctstate RELATED,ESTABLISHED"; target = "ACCEPT"; }
|
||||
];
|
||||
systemd.network.networks.wiregrill = {
|
||||
matchConfig.Name = "wiregrill";
|
||||
address =
|
||||
(optional (!isNull self.ip4) "${self.ip4.addr}/16") ++
|
||||
(optional (!isNull self.ip6) "${self.ip6.addr}/48")
|
||||
;
|
||||
};
|
||||
|
||||
networking.wireguard.interfaces.wiregrill = {
|
||||
ips =
|
||||
|
Loading…
Reference in New Issue
Block a user