nix/module/NixServe.nix

10 lines
323 B
Nix
Raw Normal View History

2024-03-09 17:17:06 +03:00
{ pkgs, ... }: {
services.nix-serve = {
enable = true;
bindAddress = "0.0.0.0";
package = pkgs.nix-serve-ng;
port = 5000;
2024-03-09 17:28:41 +03:00
secretKeyFile = "/root/.nixcache/secret-key-file"; # Generate with: nix-store --generate-binary-cache-key nixcache.voronind.com secret-key-file public-key-file
2024-03-09 17:17:06 +03:00
};
}