Finish nix-cache
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m3s

This commit is contained in:
2025-01-24 15:48:03 +01:00
parent e70e892ab2
commit 006d0b9213
9 changed files with 85 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
{ pkgs, config, ... }:
{
sops.secrets."cache-secret" = {
sopsFile = ../../secrets/nix-cache01/cache-secret;
format = "binary";
};
services.nix-serve = {
enable = true;
package = pkgs.nix-serve-ng;
secretKeyFile = config.sops.secrets.cache-secret.path;
};
}