feat(user/malte): add github access token to nix to prevent API rate limitations

This commit is contained in:
Malte Tammena 2024-04-02 10:46:39 +02:00
parent a71080eae5
commit 4d8548dda9
3 changed files with 10 additions and 2 deletions

View file

@ -84,6 +84,9 @@ in {
openai-heygpt-api-key = { openai-heygpt-api-key = {
inherit sopsFile owner mode; inherit sopsFile owner mode;
}; };
nix-conf-secrets = {
inherit sopsFile owner mode;
};
pw-mail-pm = { pw-mail-pm = {
inherit sopsFile owner mode; inherit sopsFile owner mode;
}; };

View file

@ -4,6 +4,7 @@ pw-mail-uni: ENC[AES256_GCM,data:bjhlTpNHRfC8ty+i4bztKWq47IGB2qqJGPvKP+7N6xA=,iv
pw-mail-gmx: ENC[AES256_GCM,data:byvzb3zSVOHLjGzHwx43h0YhMoeDvUR2/g==,iv:tQEg751oi+LIjJ1dzW4Kv/irSgTCIuh2Fl4YQ0Pm6M8=,tag:1Uarz2dCkpTmJIh+/HYeEA==,type:str] pw-mail-gmx: ENC[AES256_GCM,data:byvzb3zSVOHLjGzHwx43h0YhMoeDvUR2/g==,iv:tQEg751oi+LIjJ1dzW4Kv/irSgTCIuh2Fl4YQ0Pm6M8=,tag:1Uarz2dCkpTmJIh+/HYeEA==,type:str]
pw-mail-schulverwalter: ENC[AES256_GCM,data:jEFDG1EDywlwdrB/5KlrLYxde0CTSaOxtjLgC0lZbl0=,iv:pYhX7cihkK7HfXoFe8lfkZ4G0TVuSKLIDUXZnh6P60Y=,tag:zMh13xBGsnjpvtci7EnFNg==,type:str] pw-mail-schulverwalter: ENC[AES256_GCM,data:jEFDG1EDywlwdrB/5KlrLYxde0CTSaOxtjLgC0lZbl0=,iv:pYhX7cihkK7HfXoFe8lfkZ4G0TVuSKLIDUXZnh6P60Y=,tag:zMh13xBGsnjpvtci7EnFNg==,type:str]
openai-heygpt-api-key: ENC[AES256_GCM,data:iC4NkkbMB2WIN9Z1Nw+KWPKG2NUitpH1EUrBfGFTta6y0XLRDs0o6D01EyF3vXOiEOcd,iv:W47ORUJv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,tag:TiaKa+lK0m6JC8tGcrfqIw==,type:str] sftp-key: ENC[AES256_GCM,data:4DTZnkaLvzeoGQowHqpcZfvvZls8LsOd/4ER5Fzw135nLDogVQWDN2ae8ce2CeCbfl4ZqCZNAlEueg3SIJ8Ew10zVkac4wU7mal1MPvqsDjH+ufiBIs5100DOCkWn376U0eZ/AVuwYY8/CA1ZeZ+LfQU3grpnN/9I4Q8QCZqW4zlPSJtF7V5/fU4Na1gJswKeaFXMdT7O+JWpfqb2jLl3HUO7m69VYlOD9/B8BcOU1PSfJGhat1bzeiNB6h22eEoZtUtLoF9P+O11IrOMiHbK610gSH8TM64Fu1Y8a7rx/UtlYpeDs1FA28Ldrb+YxZHfhJbhp8xNX/22NaDSDwFnZLIaY0KOv3lzICqpAmLB9s2r4kOAw64dopgYdw+XXb8qQ4o2iOwWQ3HCXCqKLxImRubktQu3jD6AOPoCDcDwPqzNfPDoo+OWNAGpLSS9LGN8+uRgtNIkfCEx+cU3gU9HhvBmbXVUFLObpNFo7XZJj3l/mHWKZ/rOKpyX8c6+Hx4zlQfUrChxt65X8f/8rSyB3Nq9SqCELBiaINu,iv:nUp0rBZjCyibnmVV8qIsFXmfqAjWExh5bH50ynVFwj0=,tag:TiaKa+lK0m6JC8tGcrfqIw==,type:str]
sops: sops:
kms: [] kms: []
@ -38,8 +39,8 @@ sops:
U05rN3hQTFkxTHFDVnpZWGxNY25maFUKdrn4Jtqc9U9GXyRAPhHE8iyVFL5NvnrZ U05rN3hQTFkxTHFDVnpZWGxNY25maFUKdrn4Jtqc9U9GXyRAPhHE8iyVFL5NvnrZ
0KVOCWycdGVltDjTFVpyLoCiwZcTDDza/vjFcCro1zgcsdVuPl0orA== 0KVOCWycdGVltDjTFVpyLoCiwZcTDDza/vjFcCro1zgcsdVuPl0orA==
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----
lastmodified: "2024-02-06T09:31:18Z" lastmodified: "2024-03-24T20:00:51Z"
mac: ENC[AES256_GCM,data:s7Gy82cad732CL4RYnfoDq+RJxHaGhPkIgZe0ctst3xTvo3XHn+VAn0cNuyxH0z99nAE6wSxCSG7TFXLMY+7LYx65xTNx1MyMA8HD7wS7/EdaaS4Timyp9+2fdHHHPM/eli+Wb6CdglFnzqGSbAO7madOfyp22N1Aj5ZUDp6wEY=,iv:1+mQAbeViXdblWlZK0rml/Pnrr5H8pbjsWpM0gzrTsE=,tag:rq5jbut9x2yKCxN+r+b07A==,type:str] mac: ENC[AES256_GCM,data:DqFT7rVf7ojxAdB75frzQ5BqonFSJcFoGRtABecDDA5g5/izKAWwhU701kT1s/9Di2tN6Cg6RnGd/qWrUr+XMiMr3cw/5q7OK0FUUDgHrE4al567+JYItq9vkr8Q88/uhMgbe1RU5RZQQ+8ERGLrDFt8+DPxFErgQcJJLDG6lSw=,iv:o9IDmrCHuc1k4KlYC+RSQdKjq0m3uA7kX2IwMv+o4O4=,tag:SKWAaAyUm/sjXRmAGZauUQ==,type:str]
pgp: pgp:
- created_at: "2023-11-18T10:06:28Z" - created_at: "2023-11-18T10:06:28Z"
enc: |- enc: |-

View file

@ -263,6 +263,10 @@ in {
home.file.".yubico/authorized_yubikeys".text = "malte:ccccccvblrrf"; home.file.".yubico/authorized_yubikeys".text = "malte:ccccccvblrrf";
xdg.configFile."nix/nix.conf".text = ''
include ${nixosConfig.sops.secrets.nix-conf-secrets.path}
'';
home.stateVersion = "18.09"; home.stateVersion = "18.09";
}; };
} }