feat: add github access token for nix

This commit is contained in:
Moritz Böhme 2024-10-25 11:16:29 +02:00
parent 20cae34e85
commit 6657d4e7a2
Signed by: moritz
GPG key ID: 970C6E89EB0547A9
3 changed files with 17 additions and 1 deletions

View file

@ -44,12 +44,17 @@ in
nix = config.nix.package;
};
age.secrets.nix-github-token.file = ../../secrets/nix-github-token.age;
nix = {
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
package = pkgs.nix;
extraOptions = "experimental-features = nix-command flakes";
extraOptions = ''
!include ${config.age.secrets.nix-github-token.path}
experimental-features = nix-command flakes
'';
gc = {
automatic = cfg.gc.enable;

View file

@ -0,0 +1,10 @@
age-encryption.org/v1
-> ssh-ed25519 CjuqfA H1gL8k/o7kvJoVEZ0UrbUv1G7Ceb3cUCIVFhch9rDhc
0531muHlievVhT5piGLXC+/zOymCkPM9P9csRxLsnpM
-> ssh-ed25519 wG6LYg Z9cm/TUZbV35tzgHywx1AHmF8jrFFqBl3sCIELEvcH0
OmLY/ThgZ4f8CFFA5YpYFiRK+ro7cBqoFY6UY7/VS8I
-> ssh-ed25519 ZYd7Zg xpjSILAYRyQ4kkbdLAVJQXChX+t/DeL3qWWJae2sczI
wamYh70/AGSh5j4uqsPFTvn36E3TmGoVL8XlxbSfX9g
--- NNsTU7Fsi/WLegSpkuoNaxN0kFQG38mgdhCQ8y+CSQE
vâî"²úÃF
=‰rûazÜ6h<>ÍQâN÷&DpvðGÄXQ$d7tíˆ݈ElÃIèÀXŠãYrV'‚ç×ï)J¬€Hí<48>ɦ Úƒ?fåœÊWÃH_Ô®Ô±‰ª"

View file

@ -28,4 +28,5 @@ in
"exercism.age".publicKeys = personal;
"openai.age".publicKeys = personal;
"anthropic.age".publicKeys = personal;
"nix-github-token.age".publicKeys = personal;
}