diff --git a/users/guanranwang/home-manager/default.nix b/users/guanranwang/home-manager/default.nix index fae37a4..9029b98 100644 --- a/users/guanranwang/home-manager/default.nix +++ b/users/guanranwang/home-manager/default.nix @@ -72,6 +72,13 @@ userName = "Guanran Wang"; userEmail = "guanran928@outlook.com"; delta.enable = true; + signing.signByDefault = true; + signing.key = "~/.ssh/id_github_signing"; + extraConfig = { + gpg.format = "ssh"; + pull.rebase = true; + }; }; }; + services.ssh-agent.enable = true; }