summaryrefslogtreecommitdiffstats
path: root/lass/3modules/sshkeys.nix
blob: 5f1c60668c7f7e17afba451786474e49340165d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, ... }:

with lib;

{
  options = {
    sshKeys = mkOption {
      type = types.attrsOf (types.submodule (
      { config, ... }:
      {
        options = {
          pub = mkOption {
            type = types.str;
            description = "Public part of the ssh key.";
          };

          priv = mkOption {
            type = types.str;
            description = "Private part of the ssh key.";
          };
        };
      }));
      description = "collection of ssh-keys";
    };
  };
}