Add AWS creds for root
This commit is contained in:
parent
23292e0ec2
commit
08942bab84
@ -4,6 +4,8 @@
|
||||
services = [ ];
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [ "L+ /root/.aws/credentials - - - - ${config.secrets.aws_credentials.decrypted}" ];
|
||||
|
||||
environment.sessionVariables = {
|
||||
AWS_SHARED_CREDENTIALS_FILE = config.secrets.aws_credentials.decrypted;
|
||||
AWS_CONFIG_FILE = toString (pkgs.writeText "aws_config"
|
||||
|
Loading…
Reference in New Issue
Block a user