lxc-containers.nix: fix interface names

This commit is contained in:
Astro 2021-03-25 00:34:48 +01:00
parent b570447d01
commit 46c16e4413
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ let
ifData = interfaces.${netName};
in {
type = ifData.type;
name = netName;
flags = "up";
hwaddr = if ifData ? hwaddr
then ifData.hwaddr