Skip to content
Snippets Groups Projects
Select Git revision
  • upgrade-to-nixos-25.05
  • develop default protected
  • production protected
  • nixpkgs-upgrade-2024-12-23
  • 190-our-regular-updates-fill-up-the-servers-boot-partitions
  • nixpkgs-upgrade-2024-10-14
  • hro-cloud protected
  • 162.flexible-grafana-module
  • nixpkgs-upgrade-2024-05-13
  • nixpkgs-upgrade-2024-04-22
  • nixpkgs-upgrade-2024-03-25
  • nixpkgs-upgrade-2024-03-18
  • nixpkgs-upgrade-2024-03-11
  • nixpkgs-upgrade-2024-03-04
  • 163.jp-to-ben-for-prod
  • nixpkgs-upgrade-2024-02-26
  • 164.grafana-alert-rules
  • 157.authorize-new-hro-key
  • nixpkgs-upgrade-2024-02-19
  • nixpkgs-upgrade-2024-02-12
20 results

grid.nix

Blame
  • grid.nix 914 B
    let
      # Pin the deployment package-set to a specific version of nixpkgs.  This is
      # NixOS 19.03 as of Aug 28 2019.  There's nothing special about it.  It's
      # just recent at the time of development.  It can be upgraded when there is
      # value in doing so.
      pkgs = import (builtins.fetchTarball {
        url = "https://github.com/NixOS/nixpkgs/archive/3c83ad6ac13b67101cc3e2e07781963a010c1624.tar.gz";
        sha256 = "0cdq342wrkvkyccygpp1gvwp7hhqg68hljjwld4vjixm901ayy14";
      }) {};
      cfg = pkgs.lib.trivial.importJSON ./grid.config.json;
    in
    {
      network =  {
        inherit pkgs;
        description = "PrivateStorage.io Staging Grid";
      };
    
      "staging000" = import ./staging000.nix {
        publicIPv4 = "3.123.26.90";
        inherit (cfg) publicStoragePort;
      };
    
      "staging001" = import ./staging001.nix {
        publicIPv4 = "209.95.51.251";
        inherit (cfg) publicStoragePort;
      };
    
      "staging002" = import ./staging002.nix;
    }