3 lass.sshkeys: init
This commit is contained in:
parent
95ee0e40b5
commit
670cfaf39a
26
3modules/lass/sshkeys.nix
Normal file
26
3modules/lass/sshkeys.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user