2019-10-24 13:48:05 +00:00
|
|
|
# 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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-10-24 13:48:05 +00:00
|
|
|
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
|
2019-10-24 13:48:05 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|