packer-nixos/nixos/configuration.nix

27 lines
558 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
2014-02-01 12:04:09 -08:00
#
# This file should only be a list of imports managed by whichever provisioner
# is building the environment.
#
# You should not be editing this by hand.
#
{
imports = [
./hardware-configuration.nix
2014-02-01 12:04:09 -08:00
./guest.nix
./vagrant.nix
];
2014-02-01 12:04:09 -08:00
# we want our nixpkgs repo to take priority
environment.shellInit = ''
export NIX_PATH='nixpkgs=/etc/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels/nixos'
'';
2014-01-30 14:00:41 -08:00
2014-02-01 12:04:09 -08:00
environment.systemPackages = with pkgs; [
git
];
}