From 19d2916e1c8cdbf48a74026c78d39b1dbd1285df Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 19 Aug 2023 12:36:05 +0200 Subject: [PATCH] hosts: nixos: porthos: secrets: rename 'nix-cache' To go with the module rename. --- .../secrets/{nix-serve => nix-cache}/cache-key.age | Bin hosts/nixos/porthos/secrets/secrets.nix | 2 +- hosts/nixos/porthos/services.nix | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename hosts/nixos/porthos/secrets/{nix-serve => nix-cache}/cache-key.age (100%) diff --git a/hosts/nixos/porthos/secrets/nix-serve/cache-key.age b/hosts/nixos/porthos/secrets/nix-cache/cache-key.age similarity index 100% rename from hosts/nixos/porthos/secrets/nix-serve/cache-key.age rename to hosts/nixos/porthos/secrets/nix-cache/cache-key.age diff --git a/hosts/nixos/porthos/secrets/secrets.nix b/hosts/nixos/porthos/secrets/secrets.nix index 498aebf..8eac0f5 100644 --- a/hosts/nixos/porthos/secrets/secrets.nix +++ b/hosts/nixos/porthos/secrets/secrets.nix @@ -52,7 +52,7 @@ in publicKeys = all; }; - "nix-serve/cache-key.age".publicKeys = all; + "nix-cache/cache-key.age".publicKeys = all; "paperless/password.age".publicKeys = all; "paperless/secret-key.age".publicKeys = all; diff --git a/hosts/nixos/porthos/services.nix b/hosts/nixos/porthos/services.nix index 0342864..a4bf485 100644 --- a/hosts/nixos/porthos/services.nix +++ b/hosts/nixos/porthos/services.nix @@ -95,7 +95,7 @@ in }; nix-cache = { enable = true; - secretKeyFile = secrets."nix-serve/cache-key".path; + secretKeyFile = secrets."nix-cache/cache-key".path; }; nginx = { enable = true;