NixOps repo for mcwhirter.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.9KB

  1. # NixOps configuration for the hosts utilising IOHK resources
  2. { config, pkgs, lib, ... }:
  3. {
  4. nix = {
  5. extraOptions = ''
  6. #repeat = 1 # Ensure reproducibility of builds
  7. '';
  8. };
  9. nix.binaryCaches = [
  10. "https://cache.nixos.org"
  11. "https://hydra.iohk.io"
  12. ];
  13. nix.binaryCachePublicKeys = [
  14. "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
  15. ];
  16. # Set the system-wide environment
  17. environment = {
  18. systemPackages = with pkgs; [
  19. awscli # Unified tool to manage your AWS services
  20. buildkite-agent # Buildkite for IOHK
  21. #crystal # A compiled language with Ruby like syntax and type inference
  22. docker # Pack, ship and run any application as a lightweight container
  23. docker-compose # Multi-container orchestration for Docker
  24. freerdp # A Remote Desktop Protocol Client, xfreerdp
  25. gist # Upload code to https://gist.github.com (or github enterprise)
  26. gnupg # GNU Privacy Guard, a GPL OpenPGP implementation
  27. go-jira # Simple command line client for Atlassian's Jira service written in Go
  28. #icr # Interactive console for the Crystal programming languag
  29. jq # A lightweight and flexible command-line JSON processor
  30. keybase-gui # The Keybase official client
  31. scry # Code analysis server for the Crystal programming language
  32. shards # Dependency manager for the Crystal language
  33. slack-dark # Slack desktop client
  34. ];
  35. variables = {
  36. NIX_SKIP_KEYBASE_CHECKS = "1"; # As per IOHK Keybase reqs
  37. };
  38. };
  39. virtualisation.docker.enable = true;
  40. services = {
  41. keybase.enable = true;
  42. #postgresql = {
  43. # enable = true; # Ensure postgresql is enabled
  44. # package = pkgs.postgresql_10; # Set the required version, if needed
  45. };
  46. }