3 lass.sshkeys: init

This commit is contained in:
lassulus 2015-07-16 15:50:19 +02:00
parent 95ee0e40b5
commit 670cfaf39a

26
3modules/lass/sshkeys.nix Normal file
View File

@ -0,0 +1,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";
};
};
}