1 { pkgs, lib, config, ... }:
3 inherit (builtins.extraBuiltins) pass;
4 inherit (config) networking;
8 "${networking.domain}.key.pem" = {
9 text = pass "x509/${networking.domain}/key.pem";
12 destDir = "/run/keys/";
13 permissions = "0400"; # WARNING: not enforced when deployment.storeKeysOnMachine = true