hosts/hydra: use secrets for nix-cache
This commit is contained in:
parent
9d6a7b1c88
commit
9982a4d710
@ -84,7 +84,7 @@
|
||||
enable = true;
|
||||
port = 5005;
|
||||
bindAddress = "127.0.0.1";
|
||||
secretKeyFile = "/var/src/secrets/nix-serve/secret-key.key";
|
||||
secretKeyFile = config.age.secrets.nix-cache-key.path;
|
||||
# Workaround https://github.com/NixOS/nix/issues/7704#issuecomment-1409480909
|
||||
package = pkgs.nix-serve-ng.override {
|
||||
nix = pkgs.nixVersions.nix_2_12;
|
||||
|
9
hosts/hydra-1/secrets/nix-cache-key.age
Normal file
9
hosts/hydra-1/secrets/nix-cache-key.age
Normal file
@ -0,0 +1,9 @@
|
||||
age-encryption.org/v1
|
||||
-> ssh-ed25519 HwR33w XAZWRRep4zdbZFwRvWGa9yyLe44TlOGIMwtLo/WZXyw
|
||||
G8Rv8Oqbvx5qYr8ZrQlmIyhYqUG6aJArfhMoqu4U/Uc
|
||||
-> ssh-ed25519 UgSomQ sP6Z3WzhBXDaDfsSNHY7p/vV20/eytII2VhO6+vUAhE
|
||||
q6+FH+k04jG0417KvY8cHnNeb8hEzEtxX+hLmKWqvdk
|
||||
-> *A>\V=-grease
|
||||
wpRswQ45ywiN+jit7kj5p0s2a+WloUueeu5E+Nn41WOMNQLJ3RaJqxRk
|
||||
--- TVK8uHcE2tn7qfDF2oAGb24N6a670Fc+QVU7agmJYNo
|
||||
_ aà ˜-è¦'ÀÓ³ÞýAbSØ ÆXÊ2Ñ$À\‰M³œÅ¾ç×ý¦#6žwP˜çÉ…<18>²'ÚGK‰<4B>&Ü´|œýó7³PŸÕŒŒ-v¨õÐ_Sb&^YÒ±bÍ(KÏñ´9o’À¢í¼ß‰{Cž³m<C2B3>F0w¸î±Æ£-¨9õ<5 LÌ¥ì
|
1
hosts/hydra-1/secrets/nix-cache-key.pub
Normal file
1
hosts/hydra-1/secrets/nix-cache-key.pub
Normal file
@ -0,0 +1 @@
|
||||
nix-cache.clerie.de:bAt1GJTS9BOTcXFWj3nURrSlcjqikCev9yDvqArMP5g=
|
Loading…
Reference in New Issue
Block a user