[Nix-dev] undefined variable 'config', in '/etc/nixos/configuration.nix'
Marc Weber
marco-oweber at gmx.de
Wed Jul 7 18:18:07 CEST 2010
Hy Bryan,
nixos-hardware-scan > /etc/nixos/configuration.nix
This line should be the first line (hardware-scan is outdated)
> {config, pkgs, ...}:
The manual contains all info you need:
http://hydra.nixos.org/build/479665/download/1/nixos/manual.html
Take the fileSystems section from there.
Note: there is a svn repo called configurations containing many advanced
examples.
I'm still puzzled about the error. Can you try whether the error goes
away when using output of nixos-hardware-scan ?
Marc Weber
More information about the nix-dev
mailing list