Merge pull request #5016 from bjornfor/nixos-generate-config-with-lib

nixos-generate-config: add 'lib' to module template
This commit is contained in:
Eelco Dolstra 2014-11-18 08:48:30 +01:00
commit 8daa0767fa

View File

@ -430,7 +430,7 @@ my $hwConfig = <<EOF;
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, pkgs, ... }:
{ config, lib, pkgs, ... }:
{
imports =${\multiLineList(" ", @imports)};