diff --git a/ops/nixos/lib/blade.nix b/ops/nixos/lib/blade.nix index 3fbb0b1a9f..19fe10e756 100644 --- a/ops/nixos/lib/blade.nix +++ b/ops/nixos/lib/blade.nix @@ -99,7 +99,7 @@ in { ATTR{address}=="${config.my.blade.macAddress.internal}", NAME="en-int" '' + (lib.optionalString (config.my.blade.macAddress.storage != null) '' ATTR{address}=="${config.my.blade.macAddress.storage}", NAME="en-storage" - '' + (lib.optionalString (config.my.blade.macAddress.internet != null) '' + '') + (lib.optionalString (config.my.blade.macAddress.internet != null) '' ATTR{address}=="${config.my.blade.macAddress.internet}", NAME="en-internet" '');