Skip to content

Instantly share code, notes, and snippets.

@thedebugger
Created August 11, 2016 18:38
Show Gist options
  • Save thedebugger/726d3ba29041e428dd647b3e731e63d1 to your computer and use it in GitHub Desktop.
Save thedebugger/726d3ba29041e428dd647b3e731e63d1 to your computer and use it in GitHub Desktop.
jenkinsAdmin = mkOption {
11 type = types.submodule {
10 options = {
9 user = mkOption {
8 type = types.str;
7 default = "fa-rel-jenkins";
6 description = ''
5 Name for Jenkins admin user.
4 '';
3 };
2
1 privateKeyFile = mkOption {
0 type = types.path;
1 default = "${cfg.privateKeyFile}";
2 description = ''
3 Path for the Jenkins admin private Key.
4 '';
5 };
6
7 publicKeys = mkOption {
8 type = types.listOf types.str;
9 default = "${cfg.authorizedKeys}";
10 description = ''
11 Path for the Jenkins admin public key.
12 '';
13 };
14 };
15 };
16 default = { };
17 description = ''
18 Jenkins Admin to run cli commands.
19 '';
20 };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment