You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
644 B
Nix
39 lines
644 B
Nix
2 months ago
|
# options used across of my modules
|
||
|
|
||
|
# for me, most of them are defined in ../mySettings.nix
|
||
|
|
||
|
{ config
|
||
|
, lib
|
||
|
, pkgs
|
||
|
, ...
|
||
|
}:
|
||
|
{
|
||
|
|
||
|
options = {
|
||
|
|
||
|
x-banananetwork = {
|
||
|
|
||
|
sshPublicKeys = lib.mkOption {
|
||
|
description = ''
|
||
|
SSH public keys used to manage this system.
|
||
|
|
||
|
This is used by other option{x-banananetwork} modules.
|
||
|
'';
|
||
|
example = lib.literalExpression ''
|
||
|
[ "ssh-ed25519 ..." ]
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
userName = lib.mkOption {
|
||
|
description = ''
|
||
|
my username for most/all uses
|
||
|
'';
|
||
|
example = lib.literalExpression "zocker";
|
||
|
};
|
||
|
|
||
|
};
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|