~kb/env

c89dcb7787d3fb6a6f690ed742c043208a8cd0bf — kb 1 year, 25 days ago 37737ad
Switch to GPG commit sigs
2 files changed, 3 insertions(+), 3 deletions(-)

M programs/git.nix
M users/kim.nix
M programs/git.nix => programs/git.nix +2 -2
@@ 12,11 12,11 @@
      "*.swo"
    ];

    signing.signByDefault = true;

    extraConfig = {
      pull.ff = "only";
      init.defaultBranch = "main";
      commit.gpgsign = true;
      gpg.format = "ssh";
      gpg.ssh.allowedSignersFile =
        with builtins;
        let trusted = map (k: "* ${k}\n") (attrValues keys.ssh); in

M users/kim.nix => users/kim.nix +1 -1
@@ 33,7 33,7 @@
  programs.git = {
    userEmail = "kim@simple.industries";
    userName = "kb";
    extraConfig.user.signingKey = keys.ssh.air;
    signing.key = "3D196D998565BC3E";
  };

  programs.gpg.publicKeys = [