mio-ops/roles/iohk.nix

42 lines
1.3 KiB
Nix
Raw Normal View History

2019-09-25 03:53:08 +00:00
# NixOps configuration for the hosts utilising IOHK resources
{ config, pkgs, lib, ... }:
{
nix.binaryCaches = [
"https://cache.nixos.org"
"https://hydra.iohk.io"
];
nix.binaryCachePublicKeys = [
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
];
2020-03-06 04:54:32 +00:00
imports = [
./crystal0.32.nix
];
# Set the system-wide environment
environment = {
systemPackages = with pkgs; [
#crystal # A compiled language with Ruby like syntax and type inference
docker # Pack, ship and run any application as a lightweight container
2020-03-19 00:04:13 +00:00
docker-compose # Multi-container orchestration for Docker
2020-03-06 04:54:32 +00:00
gnupg # GNU Privacy Guard, a GPL OpenPGP implementation
go-jira # Simple command line client for Atlassian's Jira service written in Go
icr # Interactive console for the Crystal programming languag
jq # A lightweight and flexible command-line JSON processor
scry # Code analysis server for the Crystal programming language
shards # Dependency manager for the Crystal language
];
};
virtualisation.docker.enable = true;
2020-03-17 00:02:54 +00:00
#services.postgresql = {
# enable = true; # Ensure postgresql is enabled
# package = pkgs.postgresql_10; # Set the required version, if needed
#};
2019-09-25 03:53:08 +00:00
}