nix-files/machines/servo/services/nix-serve.nix

16 lines
374 B
Nix
Raw Normal View History

# docs: https://nixos.wiki/wiki/Binary_Cache
# to copy something to this machine's nix cache, do:
# nix copy --to ssh://nixcache.uninsane.org PACKAGE
2022-06-08 23:27:35 +00:00
{ config, ... }:
{
services.nix-serve = {
enable = true;
2022-06-08 23:27:35 +00:00
secretKeyFile = config.sops.secrets.nix_serve_privkey.path;
};
sops.secrets.nix_serve_privkey = {
2022-06-12 22:11:41 +00:00
sopsFile = ../../../secrets/servo.yaml;
};
}