Please work

This commit is contained in:
Andrea Ciceri 2023-06-25 12:15:18 +02:00
parent 5315feb612
commit d7e82621c8
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
16 changed files with 179 additions and 42 deletions

View file

@ -12,4 +12,25 @@
# secretsJsonPath = config.hercules-ci-secrets.path;
};
};
# Popola /var/lib/hercules-ci-agent/.ssh/ e /root/ con chiavi in grado di accedere root@cache.aciceri.dev
# systemd.tmpfiles.rules = [
# "d ${config.users.users.root.home}/.aws 770 root root"
# "d ${config.users.users.hercules-ci-agent.home}/.aws 770 hercules-ci-agent hercules-ci-agent"
# ];
# system.activationScripts.aws-credentials = ''
# install ${config.age.secrets.aws-credentials.path} \
# ${config.users.users.hercules-ci-agent.home}/.aws/credentials \
# -D \
# --owner=hercules-ci-agent \
# --group=hercules-ci-agent \
# --mode=770
# install \
# ${config.age.secrets.aws-credentials.path} \
# -D \
# ${config.users.users.root.home}/.aws/credentials
# '';
}