mio-ops/roles/nixpkgs-dev.nix

22 lines
472 B
Nix
Raw Normal View History

# NixOps configuration for the hosts I'm doing nixpkgs dev work on
{ config, pkgs, lib, ... }:
{
2020-03-06 04:57:26 +00:00
nixpkgs = {
config = {
allowUnfree = true;
};
};
environment = {
systemPackages = with pkgs; [
nix-universal-prefetch # Uses nixpkgs fetchers to figure out hashes
cabal2nix # Convert Cabal files into Nix build instructions
2020-03-06 04:57:26 +00:00
nodePackages.node2nix # Generate Nix expressions to build NPM packages
];
};
}