mio-ops/roles/nixpkgs-dev.nix
2020-04-01 13:30:08 +10:00

23 lines
562 B
Nix

# NixOps configuration for the hosts I'm doing nixpkgs dev work on
{ config, pkgs, lib, ... }:
{
nixpkgs = {
config = {
allowUnfree = true;
};
};
environment = {
systemPackages = with pkgs; [
cabal2nix # Convert Cabal files into Nix build instructions
nix-review # Review pull-requests on https://github.com/NixOS/nixpkgs
nix-universal-prefetch # Uses nixpkgs fetchers to figure out hashes
nodePackages.node2nix # Generate Nix expressions to build NPM packages
];
};
}