nixos-container: avoid top-level with lib
in pkgs/tools/virtualization/nixos-container/nixos-container.pl
This commit is contained in:
parent
aa30bcc07b
commit
942ac9abd9
1 changed files with 1 additions and 3 deletions
|
@ -171,10 +171,8 @@ sub writeNixOSConfig {
|
|||
my $nixosConfig = <<EOF;
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{ boot.isContainer = true;
|
||||
networking.hostName = mkDefault "$containerName";
|
||||
networking.hostName = lib.mkDefault "$containerName";
|
||||
networking.useDHCP = false;
|
||||
$localExtraConfig
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue