mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
auto provision aws secrets for parzival hosts
This commit is contained in:
parent
455d1973f7
commit
476519c6ab
1 changed files with 5 additions and 0 deletions
|
|
@ -32,4 +32,9 @@ lib.mkIf config.user.crow.enable {
|
|||
aws_secret_access_key=${config.sops.placeholder."aws/wce/secret_key"}
|
||||
'';
|
||||
};
|
||||
system.userActivationScripts.link_aws_secrets.text = ''
|
||||
rm -rf /home/crow/.aws
|
||||
mkdir -p /home/crow/.aws
|
||||
ln -s ${config.sops.templates."aws_shared_config".path} /home/crow/.aws/credentials
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue