-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
saml2aws: init module #8134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
saml2aws: init module #8134
Conversation
Adding module to configure saml2aws utility using home-manager
| mokrinsky = { | ||
| name = "mokrinsky"; | ||
| email = "[email protected]"; | ||
| github = "mokrinsky"; | ||
| githubId = 463907; | ||
| keys = [ | ||
| { | ||
| longkeyid = "rsa4096/0x73CC011921471A15"; | ||
| fingerprint = "EA54 E892 D96C 779E 1FA6 4E0A 73CC 0119 2147 1A15"; | ||
| } | ||
| ]; | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Separate commit before module addition, please.
| enable = lib.mkEnableOption "saml2aws CLI tool"; | ||
|
|
||
| package = lib.mkPackageOption pkgs "saml2aws" { | ||
| default = "saml2aws"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| default = "saml2aws"; |
|
|
||
| enableBashIntegration = lib.hm.shell.mkBashIntegrationOption { | ||
| inherit config; | ||
| extraDescription = ''If enabled, this will install autocompletion for bash.''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the completions are the only benefit of the integration, aren't the shell completions already installed https://github.com/NixOS/nixpkgs/blob/c4e9b72d0bf394509a3b2aff27be35b7e3c99b85/pkgs/by-name/sa/saml2aws/package.nix#L33-L37
Adding module to configure saml2aws utility.
Description
Checklist
Change is backwards compatible.
Code formatted with
nix fmtornix-shell -p treefmt nixfmt deadnix keep-sorted --run treefmt.Code tested through
nix run .#tests -- test-allornix-shell --pure tests -A run.all.Test cases updated/added. See example.
Commit messages are formatted like
See CONTRIBUTING for more information and recent commit messages for examples.
If this PR adds a new module
If this PR adds an exciting new feature or contains a breaking change.