1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{ config, pkgs, ... }: let pkgsUnstable = import <nixos-unstable> {}; # pkgsUnstable = pkgs; in { environment.systemPackages = with pkgs; [ nodejs-8_x pkgsUnstable.phantomjs2 pkgsUnstable.flow pkgsUnstable.nodePackages.yarn pkgsUnstable.nodePackages.tern pkgsUnstable.nodePackages.node2nix pkgsUnstable.nodePackages.nodemon ]; }