Merge pull request #307826 from philiptaron/issue-208242/nixos-container
nixos-container: avoid top-level `with lib`
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user