mio-ops/roles/iohk.nix

61 lines
2.1 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, ... }:
{
2020-04-15 00:17:18 +00:00
nix = {
extraOptions = ''
2020-04-21 01:16:15 +00:00
#repeat = 1 # Ensure reproducibility of builds
2020-04-15 00:17:18 +00:00
'';
};
2019-09-25 03:53:08 +00:00
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
# Set the system-wide environment
environment = {
systemPackages = with pkgs; [
2020-05-05 15:14:52 +00:00
awscli # Unified tool to manage your AWS services
buildkite-agent # Buildkite for IOHK
#crystal # A compiled language with Ruby like syntax and type inference
2020-06-12 03:14:33 +00:00
docker # Pack, ship and run any application as a lightweight container
docker-compose # Multi-container orchestration for Docker
2020-05-05 15:14:52 +00:00
freerdp # A Remote Desktop Protocol Client, xfreerdp
gist # Upload code to https://gist.github.com (or github enterprise)
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
keybase-gui # The Keybase official client
2020-10-03 13:26:05 +00:00
s3fs # Mount an S3 bucket as filesystem through FUSE
2020-05-05 15:14:52 +00:00
scry # Code analysis server for the Crystal programming language
shards # Dependency manager for the Crystal language
slack-dark # Slack desktop client
2020-10-13 06:36:38 +00:00
magic-wormhole # Securely transfer data between computers
2020-03-06 04:54:32 +00:00
];
2020-05-05 14:05:09 +00:00
variables = {
NIX_SKIP_KEYBASE_CHECKS = "1"; # As per IOHK Keybase reqs
};
2020-03-06 04:54:32 +00:00
};
2020-06-12 03:14:33 +00:00
virtualisation.docker.enable = true;
2020-03-06 04:54:32 +00:00
2020-05-05 15:19:31 +00:00
services = {
keybase.enable = true;
#postgresql = {
# enable = true; # Ensure postgresql is enabled
# package = pkgs.postgresql_10; # Set the required version, if needed
};
2020-03-17 00:02:54 +00:00
2020-06-12 03:30:19 +00:00
users.groups.docker.members = [
"craige"
];
2019-09-25 03:53:08 +00:00
}