Switchg from nix-serve to harmonia
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
This commit is contained in:
12
services/nix-cache/harmonia.nix
Normal file
12
services/nix-cache/harmonia.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
sops.secrets."cache-secret" = {
|
||||
sopsFile = ../../secrets/nix-cache01/cache-secret;
|
||||
format = "binary";
|
||||
};
|
||||
|
||||
services.harmonia = {
|
||||
enable = true;
|
||||
signKeyPaths = [ config.sops.secrets.cache-secret.path ];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user