fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Anthony Rousselawscli: add modulef1b7775d

master
575 B28 linesraw
1{ ... }:
2
3{
4  programs = {
5    awscli = {
6      enable = true;
7      settings = {
8        default = {
9          output = "json";
10          region = "eu-west-3";
11        };
12      };
13      credentials = { iam = { credential_process = "pass show aws"; }; };
14    };
15  };
16
17  test.stubs.awscli2 = { };
18
19  nmt.script = ''
20    assertFileExists home-files/.aws/config
21    assertFileContent home-files/.aws/config \
22      ${./aws-config.conf}
23
24    assertFileExists home-files/.aws/credentials
25    assertFileContent home-files/.aws/credentials \
26      ${./aws-credentials.conf}
27  '';
28}