This configuration is for NixOs.
Once installed zsh will not work, need to add zsh at the end of the ~/.bashrc.
We will use pass for setting the credential_process of aws.
gpg --full-generate-key #we can select defaults
pass init "uid generated by pgp. We can use `pgp --list-keys` to view the uid"
# create the key
pass edit Globick/awscliand we will add this as a password
{
"Version": 1,
"AccessKeyId": "some access key",
"SecretAccessKey": "some secret access key"
}
create two files in home
/home/alfrheim/.awsuser -> User from aws ex: ASEC10EUTCHN
/home/alfrheim/.globickemail -> email of the globick account to put in git
openssl req -x509 -newkey rsa:4096 -days 3650 -nodes \
-keyout badianurkali.key \
-out badianurkali.crt \
-subj "/CN=lan" \
-addext "subjectAltName=DNS:*.badianurkali.net"