1
0

hosts/hydra: use secrets for nix-cache

This commit is contained in:
clerie 2023-05-02 20:14:02 +02:00
parent 9d6a7b1c88
commit 9982a4d710
3 changed files with 11 additions and 1 deletions

View File

@ -84,7 +84,7 @@
enable = true; enable = true;
port = 5005; port = 5005;
bindAddress = "127.0.0.1"; 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 # Workaround https://github.com/NixOS/nix/issues/7704#issuecomment-1409480909
package = pkgs.nix-serve-ng.override { package = pkgs.nix-serve-ng.override {
nix = pkgs.nixVersions.nix_2_12; nix = pkgs.nixVersions.nix_2_12;

View 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Ì¥ì

View File

@ -0,0 +1 @@
nix-cache.clerie.de:bAt1GJTS9BOTcXFWj3nURrSlcjqikCev9yDvqArMP5g=