lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

containers: fix interfaces option bugs

The default should be [], no need to check it for INTERFACES
variable.

+1 -3
+1 -3
nixos/modules/virtualisation/containers.nix
··· 122 122 123 123 interfaces = mkOption { 124 124 type = types.listOf types.string; 125 - default = null; 125 + default = []; 126 126 example = [ "eth1" "eth2" ]; 127 127 description = '' 128 128 The list of interfaces to be moved into the container. ··· 344 344 LOCAL_ADDRESS=${cfg.localAddress} 345 345 ''} 346 346 ''} 347 - ${optionalString (cfg.interfaces != null) '' 348 347 INTERFACES="${toString cfg.interfaces}" 349 - ''} 350 348 ${optionalString cfg.autoStart '' 351 349 AUTO_START=1 352 350 ''}