Skip to content

Commit

Permalink
Revert "tinc: remove unnecessary networking.interfaces"
Browse files Browse the repository at this point in the history
This reverts commit cde886e.
This broke users using networking.interfaces since the interface
is not up when configuring addresses: #27070 (comment)
  • Loading branch information
Mic92 committed Oct 31, 2018
1 parent bdfaa0a commit ea30555
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nixos/modules/services/networking/tinc.nix
Expand Up @@ -148,6 +148,14 @@ in
}
));

networking.interfaces = flip mapAttrs' cfg.networks (network: data: nameValuePair
("tinc.${network}")
({
virtual = true;
virtualType = "${data.interfaceType}";
})
);

systemd.services = flip mapAttrs' cfg.networks (network: data: nameValuePair
("tinc.${network}")
({
Expand Down

0 comments on commit ea30555

Please sign in to comment.