#:schema https://docs.jj-vcs.dev/latest/config-schema.json # [user] (name, email) is private: secrets/jj-identity.toml, decrypted by # sops-nix into conf.d/identity.toml, which jj merges after this file. [signing] backend = "gpg" key = "BFB092454FAFECB4" behavior = "own" # gpg-guard sweeps stale GnuPG keyring locks, then execs the real gpg unchanged. # Without it a lock orphaned by a crash (btrfs can leave a 0-byte lock file that # gpg refuses to break) makes every commit fail with "Signing error / GPG failed # with exit status: 2". Defined in NixDaemon modules/home/gpg.nix, on PATH via # home.packages; by name rather than store path so rebuilds do not churn it. [signing.backends.gpg] program = "gpg-guard" [snapshot] max-new-file-size = "10MiB"