nix-serve: serve nix-store as binary cache

This commit is contained in:
Leonardo Eugênio 2022-12-19 23:24:45 -03:00
parent 110407e600
commit fb3cf428fc
3 changed files with 9 additions and 0 deletions

6
system/nix-serve.nix Normal file
View file

@ -0,0 +1,6 @@
{ config, pkgs, lib, ... }: {
services.nix-serve = {
enable = true;
secretKeyFile = "/var/cache-priv-key.pem";
};
}