Skip to content
Snippets Groups Projects
Select Git revision
  • dont-use-etc-hosts
  • sec
  • simplify-grafana
  • simple-docs-build
  • local-test-grid
  • develop default protected
  • no-morph-on-nodes
  • stuff
  • arion
9 results

base.nix

Blame
  • Forked from PrivateStorage / PrivateStorageio
    1018 commits behind the upstream repository.
    base.nix 714 B
    # This module contains settings and configuration that apply to all nodes in a grid.
    { lib, config, ...}:
    {
      options.grid = {
        publicKeyPath = lib.mkOption {
          type = lib.types.path;
          description = ''
          A path on the deployment system of a directory containing all of the
          public keys for the system.  For example, this holds Wireguard public keys
          for the VPN configuration and SSH public keys to configure SSH
          authentication.
          '';
        };
        privateKeyPath = lib.mkOption {
          type = lib.types.path;
          description = ''
          A path on the deployment system of a directory containing all of the
          corresponding private keys for the system.
          '';
        };
      };
    }