mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
048e03377f
svn path=/nixos/branches/modular-nixos/; revision=15963
23 lines
419 B
Nix
23 lines
419 B
Nix
{ configuration ? import ./lib/from-env.nix "NIXOS_CONFIG" /etc/nixos/configuration.nix
|
|
}:
|
|
|
|
let
|
|
|
|
inherit
|
|
(import ./lib/eval-config.nix {inherit configuration;})
|
|
config optionDeclarations pkgs;
|
|
|
|
in
|
|
|
|
{
|
|
inherit config;
|
|
|
|
system = config.system.build.system;
|
|
|
|
# The following are used by nixos-rebuild.
|
|
nixFallback = pkgs.nixUnstable;
|
|
manifests = config.installer.manifests;
|
|
|
|
tests = config.tests;
|
|
}
|