31 lines
653 B
Nix
31 lines
653 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
options.jalr.aws = {
|
|
enable = lib.mkEnableOption "Enable AWS CLI";
|
|
accounts = with lib; mkOption {
|
|
type = with types; attrsOf (submodule (_: {
|
|
options = {
|
|
sso_account_id = mkOption {
|
|
type = int;
|
|
};
|
|
sso_start_url = mkOption {
|
|
type = str;
|
|
};
|
|
sso_region = mkOption {
|
|
type = str;
|
|
};
|
|
sso_role_name = mkOption {
|
|
type = str;
|
|
};
|
|
region = mkOption {
|
|
type = str;
|
|
};
|
|
};
|
|
}));
|
|
default = { };
|
|
description = "AWS CLI config";
|
|
};
|
|
};
|
|
}
|
|
|