Skip to content

Commit

Permalink
fix(git): allowed signers
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jan 11, 2024
1 parent 4228309 commit 5264f11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
home.packages = with pkgs; [
git-lfs
];
home.file.".ssh/allowed_signers".text = "* ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILxWe2rXKoiO6W14LYPVfJKzRfJ1f3Jhzxrgjc/D4tU7";
programs.git = {
enable = true;
delta.enable = true;
Expand All @@ -23,6 +24,7 @@
extraConfig = {
commit.gpgSign = true;
gpg.format = "ssh";
gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers";
user.signingKey = "~/.ssh/id_ed25519";
lfs = { enable = true; };
core = {
Expand Down

0 comments on commit 5264f11

Please sign in to comment.